nixpkgs/pkgs/development/tools/jmespath/default.nix
2022-05-04 18:08:19 -07:00

23 lines
590 B
Nix

{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "jmespath";
version = "0.2.2";
rev = version;
goPackagePath = "github.com/jmespath/go-jmespath";
src = fetchFromGitHub {
inherit rev;
owner = "jmespath";
repo = "go-jmespath";
sha256 = "0f4j0m44limnjd6q5fk152g6jq2a5cshcdms4p3a1br8pl9wp5fb";
};
meta = with lib; {
description = "A JMESPath implementation in Go";
homepage = "https://github.com/jmespath/go-jmespath";
license = licenses.asl20;
maintainers = with maintainers; [ cransom ];
mainProgram = "jpgo";
};
}