fgallery: 1.8.2 -> 1.9.1

This commit is contained in:
kashw2 2023-09-07 10:52:25 +10:00 committed by Bjørn Forsman
parent 5433e5b1e7
commit 6a8f3b09e0

View file

@ -10,16 +10,21 @@
stdenv.mkDerivation rec {
pname = "fgallery";
version = "1.8.2";
version = "1.9.1";
src = fetchurl {
url = "https://www.thregr.org/~wavexx/software/fgallery/releases/fgallery-${version}.zip";
sha256 = "18wlvqbxcng8pawimbc8f2422s8fnk840hfr6946lzsxr0ijakvf";
hash = "sha256-FvF0wkRe3wTPUG9/GEBxkaxvZ1B4wEd9kI9rURHKxn0=";
};
nativeBuildInputs = [ makeWrapper unzip ];
buildInputs = (with perlPackages; [ perl ImageExifTool CpanelJSONXS ]);
postPatch = ''
substituteInPlace Makefile \
--replace "/usr" $out
'';
installPhase = ''
mkdir -p "$out/bin"
mkdir -p "$out/share/fgallery"