2018-07-21 00:44:44 +00:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
2016-07-20 21:24:46 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "jp";
|
2020-06-14 18:12:39 +00:00
|
|
|
version = "0.1.3";
|
2019-09-08 23:38:31 +00:00
|
|
|
rev = version;
|
2016-07-20 21:24:46 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/jmespath/jp";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit rev;
|
|
|
|
owner = "jmespath";
|
|
|
|
repo = "jp";
|
2020-06-14 18:12:39 +00:00
|
|
|
sha256 = "0fdbnihbd0kq56am3bmh2zrfk4fqjslcbm48malbgmpqw3a5nvpi";
|
2016-07-20 21:24:46 +00:00
|
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A command line interface to the JMESPath expression language for JSON";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/jmespath/jp";
|
2016-07-20 21:24:46 +00:00
|
|
|
maintainers = with maintainers; [ cransom ];
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|