2022-02-18 14:01:05 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2016-07-20 21:24:46 +00:00
|
|
|
|
2022-02-18 14:01:05 +00:00
|
|
|
buildGoModule rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "jp";
|
2022-02-18 14:01:05 +00:00
|
|
|
version = "0.2.1";
|
2016-07-20 21:24:46 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2022-02-18 14:01:05 +00:00
|
|
|
rev = version;
|
2016-07-20 21:24:46 +00:00
|
|
|
owner = "jmespath";
|
|
|
|
repo = "jp";
|
2022-02-18 14:01:05 +00:00
|
|
|
hash = "sha256-a3WvLAdUZk+Y+L+opPDMBvdN5x5B6nAi/lL8JHJG/gY=";
|
2016-07-20 21:24:46 +00:00
|
|
|
};
|
2022-02-18 14:01:05 +00:00
|
|
|
|
2023-09-13 04:44:46 +00:00
|
|
|
vendorHash = "sha256-K6ZNtART7tcVBH5myV6vKrKWfnwK8yTa6/KK4QLyr00=";
|
2022-02-18 14:01:05 +00:00
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2016-07-20 21:24:46 +00:00
|
|
|
description = "A command line interface to the JMESPath expression language for JSON";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "jp";
|
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;
|
|
|
|
};
|
|
|
|
}
|