lazyjj: upgrade to 0.3.1

This commit is contained in:
Daniel Lundin 2024-09-29 20:47:52 +02:00
parent adc9fdbba9
commit ca7a0646b5
Signed by: dln
SSH key fingerprint: SHA256:dQy1Xj3UiqJYpKR5ggQ2bxgz4jCH8IF+k3AB8o0kmdI

View file

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