pkgs/lazyjj: init at 0.3.1

This commit is contained in:
Gabriel Arazas 2024-08-25 19:08:52 +08:00
parent 50b8033ef0
commit 276d4a4930
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360
2 changed files with 40 additions and 1 deletions

View File

@ -20,6 +20,7 @@ lib.makeScope newScope (self: {
gnome-search-provider-recoll =
callPackage ./gnome-search-provider-recoll.nix { };
hush-shell = callPackage ./hush-shell.nix { };
lazyjj = callPackage ./lazyjj { };
lwp = callPackage ./lwp { };
moac = callPackage ./moac.nix { };
mopidy-beets = callPackage ./mopidy-beets.nix { };
@ -37,7 +38,7 @@ lib.makeScope newScope (self: {
smile = callPackage ./smile { };
sessiond = callPackage ./sessiond { };
uwsm = callPackage ./uwsm { };
vgc = qt6Packages.callPackage ./vgc { };
vgc = qt5.callPackage ./vgc { };
watc = callPackage ./watc { };
willow = callPackage ./willow { };
wzmach = callPackage ./wzmach { };

38
pkgs/lazyjj/default.nix Normal file
View File

@ -0,0 +1,38 @@
{
lib,
rustPlatform,
fetchFromGitHub,
jujutsu,
}:
let
version = "0.3.1";
in
rustPlatform.buildRustPackage {
inherit version;
pname = "lazyjj";
src = fetchFromGitHub {
owner = "Cretezy";
repo = "lazyjj";
rev = "v${version}";
hash = "sha256-VlGmOdF/XsrZ/9vQ14UuK96LIK8NIkPZk4G4mbS8brg=";
};
cargoHash = "sha256-TAq9FufGsNVsmqCE41REltYRSSLihWJwTMoj0bTxdFc=";
# I have no clue how to properly make these tests pass so NO for now.
doCheck = false;
preCheck = ''
export HOME=$TMPDIR
'';
checkInputs = [ jujutsu ];
meta = with lib; {
homepage = "https://github.com/Cretezy/lazyjj";
description = "lazygit-inspired user interface for Jujutsu VCS";
license = licenses.apsl20;
maintainers = with maintainers; [ foo-dogsquared ];
mainProgram = "lazyjj";
};
}