1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-13 16:15:30 +00:00
nixpkgs/pkgs/development/tools/jp/default.nix
Casey Ransom d5ee0a27d0 jp: init at 0.1.2
A json parson tool based on the JMESPATH query language.
http://jmespath.org/
2016-07-21 10:42:54 -04:00

23 lines
609 B
Nix

{ stdenv, lib, buildGoPackage, fetchFromGitHub, jmespath }:
buildGoPackage rec {
name = "jp-${version}";
version = "0.1.2";
rev = "${version}";
goPackagePath = "github.com/jmespath/jp";
src = fetchFromGitHub {
inherit rev;
owner = "jmespath";
repo = "jp";
sha256 = "1i0jl0c062crigkxqx8zpyqliz8j4d37y95cna33jl777kx42r6h";
};
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;
};
}