lazyjj: nixpkgs caught up and ran by

This commit is contained in:
Daniel Lundin 2024-12-08 23:03:11 +01:00
parent 2d5364c5de
commit 264546666c
Signed by: dln
SSH key fingerprint: SHA256:dQy1Xj3UiqJYpKR5ggQ2bxgz4jCH8IF+k3AB8o0kmdI
3 changed files with 13 additions and 44 deletions

View file

@ -1,5 +1,4 @@
pkgs: {
gnome-ssh-askpass4 = pkgs.callPackage ./gnome-ssh-askpass4 { };
jujutsu-openssh = pkgs.callPackage ./jujutsu-openssh { };
lazyjj = pkgs.callPackage ./lazyjj { };
}

View file

@ -1,30 +0,0 @@
{
stdenvNoCC,
fetchzip,
}:
let
version = "0.3.1";
in
stdenvNoCC.mkDerivation {
name = "lazyjj";
inherit version;
src = fetchzip {
url = "https://github.com/Cretezy/lazyjj/releases/download/v0.3.1/lazyjj-v0.3.1-x86_64-unknown-linux-musl.tar.gz";
hash = "sha256-6R4W6uyq8sns8WLoJxp06xAYaJ0Zn+pZLtwhVIPobmc=";
};
installPhase = ''
runHook preInstall
mkdir -p $out/bin
install -m755 -D $src/lazyjj $out/bin/lazyjj
runHook postInstall
'';
meta = {
homepage = "https://github.com/Cretezy/lazyjj";
description = "TUI for jj";
mainProgram = "lazyjj";
platforms = [ "x86_64-linux" ];
};
}