Merge pull request #171189 from aaronjheng/jmespath
jmespath: 0.2.2 -> 0.4.0
This commit is contained in:
commit
aedfbed464
1 changed files with 14 additions and 8 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue