jless: 0.7.2 -> 0.8.0

https://github.com/PaulJuliusMartinez/jless/releases/tag/v0.8.0
This commit is contained in:
zowoq 2022-03-10 20:48:59 +10:00
parent 04c605e170
commit 409560df4a
2 changed files with 14 additions and 6 deletions

View file

@ -1,21 +1,27 @@
{ lib, fetchFromGitHub, rustPlatform }: { lib, fetchFromGitHub, rustPlatform, stdenv, python3, AppKit, libxcb }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "jless"; pname = "jless";
version = "0.7.2"; version = "0.8.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "PaulJuliusMartinez"; owner = "PaulJuliusMartinez";
repo = "jless"; repo = "jless";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-IK+EllkctdhIYuzj7eLjadxKoutICPeSXAjLMFiRjmo="; sha256 = "sha256-NB/s29M46mVhTsJWFYnBgJjSjUVbfdmuz69VdpVuR7c=";
}; };
cargoSha256 = "sha256-CAyKWwtMq5UOODVRrpVHrhlep2wqG434dMGeYV2FSZY="; cargoSha256 = "sha256-cPj9cTRhWK/YU8Cae63p4Vm5ohB1IfGL5fu7yyFGSXA=";
nativeBuildInputs = lib.optionals stdenv.isLinux [ python3 ];
buildInputs = [ ]
++ lib.optionals stdenv.isDarwin [ AppKit ]
++ lib.optionals stdenv.isLinux [ libxcb ];
meta = with lib; { meta = with lib; {
description = "A command-line pager for JSON data"; description = "A command-line pager for JSON data";
homepage = "https://github.com/PaulJuliusMartinez/jless"; homepage = "https://jless.io";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ jfchevrette zowoq ]; maintainers = with maintainers; [ jfchevrette zowoq ];
}; };

View file

@ -6881,7 +6881,9 @@ with pkgs;
jl = haskellPackages.callPackage ../development/tools/jl { }; jl = haskellPackages.callPackage ../development/tools/jl { };
jless = callPackage ../development/tools/jless { }; jless = callPackage ../development/tools/jless {
inherit (darwin.apple_sdk.frameworks) AppKit;
};
jmespath = callPackage ../development/tools/jmespath { }; jmespath = callPackage ../development/tools/jmespath { };