1 { lib, fetchFromGitHub, rustPlatform, stdenv, python3, AppKit, libxcb }:
3 rustPlatform.buildRustPackage rec {
7 src = fetchFromGitHub {
8 owner = "PaulJuliusMartinez";
11 sha256 = "sha256-NB/s29M46mVhTsJWFYnBgJjSjUVbfdmuz69VdpVuR7c=";
14 cargoSha256 = "sha256-cPj9cTRhWK/YU8Cae63p4Vm5ohB1IfGL5fu7yyFGSXA=";
16 nativeBuildInputs = lib.optionals stdenv.isLinux [ python3 ];
19 ++ lib.optionals stdenv.isDarwin [ AppKit ]
20 ++ lib.optionals stdenv.isLinux [ libxcb ];
23 description = "A command-line pager for JSON data";
24 homepage = "https://jless.io";
25 license = licenses.mit;
26 maintainers = with maintainers; [ jfchevrette ];