aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/tools/jp/default.nix
blob: f05c788dabe1cf8fd5fc54a1e2c329902c585e34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  pname = "jp";
  version = "0.1.3";
  rev = version;

  goPackagePath = "github.com/jmespath/jp";

  src = fetchFromGitHub {
    inherit rev;
    owner = "jmespath";
    repo = "jp";
    sha256 = "0fdbnihbd0kq56am3bmh2zrfk4fqjslcbm48malbgmpqw3a5nvpi";
  };
  meta = with stdenv.lib; {
    description = "A command line interface to the JMESPath expression language for JSON";
    homepage = "https://github.com/jmespath/jp";
    maintainers = with maintainers; [ cransom ];
    license = licenses.asl20;
  };
}