diff options
Diffstat (limited to 'pkgs/development/tools/jless/default.nix')
-rw-r--r-- | pkgs/development/tools/jless/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/tools/jless/default.nix b/pkgs/development/tools/jless/default.nix new file mode 100644 index 0000000000000..563002e9fcb95 --- /dev/null +++ b/pkgs/development/tools/jless/default.nix @@ -0,0 +1,22 @@ +{ lib, fetchFromGitHub, rustPlatform }: + +rustPlatform.buildRustPackage rec { + pname = "jless"; + version = "0.7.1"; + + src = fetchFromGitHub { + owner = "PaulJuliusMartinez"; + repo = "jless"; + rev = "v${version}"; + sha256 = "sha256-gBqyo/N/qF6HCTUrSKNVLiL1fc/JTfip1kNpNCBzRT8="; + }; + + cargoSha256 = "sha256-PbX61RVbrI2kTuyXK+LhQdJDvNo3KjIQH5eBbL6iUBM="; + + meta = with lib; { + description = "A command-line pager for JSON data"; + homepage = "https://github.com/PaulJuliusMartinez/jless"; + license = licenses.mit; + maintainers = with maintainers; [ jfchevrette ]; + }; +} |