about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/jmespath/default.nix
blob: 5414c51a00c71828621f2eb4d6d10ec26c3d847d (plain) (blame)
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 = "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 stdenv.lib; {
    description = "A JMESPath implementation in Go";
    homepage = "https://github.com/jmespath/go-jmespath";
    maintainers = with maintainers; [ cransom ];
    license = licenses.asl20;
  };
}