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