depot/third_party/nixpkgs/pkgs/development/tools/jless/default.nix
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

22 lines
596 B
Nix

{ 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 ];
};
}