mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-10 06:55:10 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
30 lines
676 B
Nix
30 lines
676 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "jmespath";
|
|
version = "0.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jmespath";
|
|
repo = "go-jmespath";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-djA/7TCmAqCsht28b1itoiWd8Mtdsn/5uLxyT23K/qM=";
|
|
};
|
|
|
|
vendorHash = "sha256-Q12muprcKB7fCxemESb4sGPyYIdmgOt3YXVUln7oabw=";
|
|
|
|
excludedPackages = [
|
|
"./internal/testify"
|
|
];
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
meta = with lib; {
|
|
description = "JMESPath implementation in Go";
|
|
homepage = "https://github.com/jmespath/go-jmespath";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ cransom ];
|
|
mainProgram = "jpgo";
|
|
};
|
|
}
|