mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
Merge pull request #171189 from aaronjheng/jmespath
jmespath: 0.2.2 -> 0.4.0
This commit is contained in:
commit
aedfbed464
@ -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 New Issue
Block a user