lol

jmespath: 0.2.2 -> 0.4.0

+14 -8
+14 -8
pkgs/development/tools/jmespath/default.nix
··· 1 - { lib, buildGoPackage, fetchFromGitHub }: 1 + { lib, buildGoModule, fetchFromGitHub }: 2 2 3 - buildGoPackage rec { 3 + buildGoModule rec { 4 4 pname = "jmespath"; 5 - version = "0.2.2"; 6 - rev = version; 7 - 8 - goPackagePath = "github.com/jmespath/go-jmespath"; 5 + version = "0.4.0"; 9 6 10 7 src = fetchFromGitHub { 11 - inherit rev; 12 8 owner = "jmespath"; 13 9 repo = "go-jmespath"; 14 - sha256 = "0f4j0m44limnjd6q5fk152g6jq2a5cshcdms4p3a1br8pl9wp5fb"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-djA/7TCmAqCsht28b1itoiWd8Mtdsn/5uLxyT23K/qM="; 15 12 }; 13 + 14 + vendorSha256 = "sha256-Q12muprcKB7fCxemESb4sGPyYIdmgOt3YXVUln7oabw="; 15 + 16 + excludedPackages = [ 17 + "./internal/testify" 18 + ]; 19 + 20 + ldflags = [ "-s" "-w" ]; 21 + 16 22 meta = with lib; { 17 23 description = "A JMESPath implementation in Go"; 18 24 homepage = "https://github.com/jmespath/go-jmespath";