2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "jp";
|
2020-06-15 15:56:04 +00:00
|
|
|
version = "0.1.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
rev = version;
|
|
|
|
|
|
|
|
goPackagePath = "github.com/jmespath/jp";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit rev;
|
|
|
|
owner = "jmespath";
|
|
|
|
repo = "jp";
|
2020-06-15 15:56:04 +00:00
|
|
|
sha256 = "0fdbnihbd0kq56am3bmh2zrfk4fqjslcbm48malbgmpqw3a5nvpi";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|