diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2024-09-28 15:38:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-28 15:38:47 +0200 |
commit | 0f2b52d628310f8627d6ec73799ba55999f492c4 (patch) | |
tree | 956c01ad6b29afe86a6adc82a9e48d5a1d04eb1f /pkgs | |
parent | 3728d82e750b9d670050a5bfac13b7c9271725b0 (diff) | |
parent | 8de6052cffffebbbe6251c38754eddc2e8c36e5d (diff) |
kabeljau: 1.2.0 -> 2.1.0 (#344964)
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/games/kabeljau/default.nix | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/pkgs/games/kabeljau/default.nix b/pkgs/games/kabeljau/default.nix index 7f917dce4b3d5..58d35ddecb0f3 100644 --- a/pkgs/games/kabeljau/default.nix +++ b/pkgs/games/kabeljau/default.nix @@ -1,29 +1,26 @@ -{ stdenvNoCC, lib, fetchFromGitea, just, inkscape, makeWrapper, bash, dialog }: +{ stdenvNoCC, lib, fetchFromGitea, just, imagemagick, makeWrapper, bash, dialog }: stdenvNoCC.mkDerivation rec { pname = "kabeljau"; - version = "1.2.0"; + version = "2.1.0"; src = fetchFromGitea { domain = "codeberg.org"; owner = "annaaurora"; repo = "kabeljau"; rev = "v${version}"; - hash = "sha256-RedVItgfr6vgqXHA3bOiHXDpfGuHI+sX4jCHL9G5jYk="; + hash = "sha256-yZHDnzNTdDXHR+Pi3NODqw4npzuthHgOJYnTmIvGyUE="; }; # Inkscape is needed in a just recipe where it is used to export the SVG icon to several different sized PNGs. - nativeBuildInputs = [ just inkscape makeWrapper ]; + nativeBuildInputs = [ just imagemagick makeWrapper ]; postPatch = '' patchShebangs --host ${pname} - substituteInPlace ./justfile \ - --replace " /bin" " $out/bin" \ - --replace " /usr" " $out" ''; installPhase = '' runHook preInstall - just install + just --set bin-path $out/bin --set share-path $out/share linux-install wrapProgram $out/bin/${pname} --suffix PATH : ${ lib.makeBinPath [ dialog ] } |