nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 36 lines 693 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5}: 6 7buildGoModule rec { 8 pname = "jmespath"; 9 version = "0.4.0"; 10 11 src = fetchFromGitHub { 12 owner = "jmespath"; 13 repo = "go-jmespath"; 14 rev = "v${version}"; 15 sha256 = "sha256-djA/7TCmAqCsht28b1itoiWd8Mtdsn/5uLxyT23K/qM="; 16 }; 17 18 vendorHash = "sha256-Q12muprcKB7fCxemESb4sGPyYIdmgOt3YXVUln7oabw="; 19 20 excludedPackages = [ 21 "./internal/testify" 22 ]; 23 24 ldflags = [ 25 "-s" 26 "-w" 27 ]; 28 29 meta = with lib; { 30 description = "JMESPath implementation in Go"; 31 homepage = "https://github.com/jmespath/go-jmespath"; 32 license = licenses.asl20; 33 maintainers = with maintainers; [ cransom ]; 34 mainProgram = "jpgo"; 35 }; 36}