1{ lib, buildGoModule, fetchFromGitHub }:
2
3buildGoModule rec {
4 pname = "jp";
5 version = "0.2.1";
6
7 src = fetchFromGitHub {
8 rev = version;
9 owner = "jmespath";
10 repo = "jp";
11 hash = "sha256-a3WvLAdUZk+Y+L+opPDMBvdN5x5B6nAi/lL8JHJG/gY=";
12 };
13
14 vendorHash = "sha256-K6ZNtART7tcVBH5myV6vKrKWfnwK8yTa6/KK4QLyr00=";
15
16 meta = with lib; {
17 description = "A command line interface to the JMESPath expression language for JSON";
18 homepage = "https://github.com/jmespath/jp";
19 maintainers = with maintainers; [ cransom ];
20 license = licenses.asl20;
21 };
22}