jmespath: 0.2.2 -> 0.4.0

This commit is contained in:
Aaron Jheng 2022-05-02 03:07:23 +00:00
parent 117f62e72e
commit cb04e72cd8
No known key found for this signature in database
GPG key ID: F6A547A869D050A3

View file

@ -1,18 +1,24 @@
{ lib, buildGoPackage, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoPackage rec {
buildGoModule rec {
pname = "jmespath";
version = "0.2.2";
rev = version;
goPackagePath = "github.com/jmespath/go-jmespath";
version = "0.4.0";
src = fetchFromGitHub {
inherit rev;
owner = "jmespath";
repo = "go-jmespath";
sha256 = "0f4j0m44limnjd6q5fk152g6jq2a5cshcdms4p3a1br8pl9wp5fb";
rev = "v${version}";
sha256 = "sha256-djA/7TCmAqCsht28b1itoiWd8Mtdsn/5uLxyT23K/qM=";
};
vendorSha256 = "sha256-Q12muprcKB7fCxemESb4sGPyYIdmgOt3YXVUln7oabw=";
excludedPackages = [
"./internal/testify"
];
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "A JMESPath implementation in Go";
homepage = "https://github.com/jmespath/go-jmespath";