2022-02-10 20:34:41 +00:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "jless";
|
2022-02-21 08:47:16 +00:00
|
|
|
version = "0.7.2";
|
2022-02-10 20:34:41 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "PaulJuliusMartinez";
|
|
|
|
repo = "jless";
|
|
|
|
rev = "v${version}";
|
2022-02-21 08:47:16 +00:00
|
|
|
sha256 = "sha256-IK+EllkctdhIYuzj7eLjadxKoutICPeSXAjLMFiRjmo=";
|
2022-02-10 20:34:41 +00:00
|
|
|
};
|
|
|
|
|
2022-02-21 08:47:16 +00:00
|
|
|
cargoSha256 = "sha256-CAyKWwtMq5UOODVRrpVHrhlep2wqG434dMGeYV2FSZY=";
|
2022-02-10 20:34:41 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A command-line pager for JSON data";
|
|
|
|
homepage = "https://github.com/PaulJuliusMartinez/jless";
|
|
|
|
license = licenses.mit;
|
2022-02-20 05:27:41 +00:00
|
|
|
maintainers = with maintainers; [ jfchevrette zowoq ];
|
2022-02-10 20:34:41 +00:00
|
|
|
};
|
|
|
|
}
|