nixpkgs/pkgs/development/tools/jp/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
576 B
Nix
Raw Normal View History

2022-02-18 14:01:05 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
2022-02-18 14:01:05 +00:00
buildGoModule rec {
pname = "jp";
2022-02-18 14:01:05 +00:00
version = "0.2.1";
src = fetchFromGitHub {
2022-02-18 14:01:05 +00:00
rev = version;
owner = "jmespath";
repo = "jp";
2022-02-18 14:01:05 +00:00
hash = "sha256-a3WvLAdUZk+Y+L+opPDMBvdN5x5B6nAi/lL8JHJG/gY=";
};
2022-02-18 14:01:05 +00:00
vendorHash = "sha256-K6ZNtART7tcVBH5myV6vKrKWfnwK8yTa6/KK4QLyr00=";
2022-02-18 14:01:05 +00:00
meta = with lib; {
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;
};
}