Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / tools / jp / default.nix
blobf606fd19d48fd4b205bb76679b8e9fbe0a0ab47d
1 { lib, buildGoModule, fetchFromGitHub }:
3 buildGoModule rec {
4   pname = "jp";
5   version = "0.2.1";
7   src = fetchFromGitHub {
8     rev = version;
9     owner = "jmespath";
10     repo = "jp";
11     hash = "sha256-a3WvLAdUZk+Y+L+opPDMBvdN5x5B6nAi/lL8JHJG/gY=";
12   };
14   vendorHash = "sha256-K6ZNtART7tcVBH5myV6vKrKWfnwK8yTa6/KK4QLyr00=";
16   meta = with lib; {
17     description = "A command line interface to the JMESPath expression language for JSON";
18     homepage = "https://github.com/jmespath/jp";
19     maintainers = with maintainers; [ cransom ];
20     license = licenses.asl20;
21   };