pinegrow: 6.6 -> 6.8
Also make executable lowercase Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
parent
05958b228b
commit
02e4902da0
1 changed files with 6 additions and 6 deletions
|
@ -16,11 +16,11 @@ stdenv.mkDerivation rec {
|
||||||
pname = "pinegrow";
|
pname = "pinegrow";
|
||||||
# deactivate auto update, because an old 6.21 version is getting mixed up
|
# deactivate auto update, because an old 6.21 version is getting mixed up
|
||||||
# see e.g. https://github.com/NixOS/nixpkgs/pull/184460
|
# see e.g. https://github.com/NixOS/nixpkgs/pull/184460
|
||||||
version = "6.6"; # nixpkgs-update: no auto update
|
version = "6.8"; # nixpkgs-update: no auto update
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.pinegrow.com/PinegrowLinux64.${version}.zip";
|
url = "https://download.pinegrow.com/PinegrowLinux64.${version}.zip";
|
||||||
sha256 = "sha256-a3SwUNcMXl42+Gy3wjcx/KvVprgFAO0D0lFPohPV3Tk=";
|
sha256 = "sha256-gqRmu0VR8Aj57UwYYLKICd4FnYZMhM6pTTSGIY5MLMk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -58,16 +58,16 @@ stdenv.mkDerivation rec {
|
||||||
# folder and symlinked.
|
# folder and symlinked.
|
||||||
unzip -q $src -d $out/opt/pinegrow
|
unzip -q $src -d $out/opt/pinegrow
|
||||||
substituteInPlace $out/opt/pinegrow/Pinegrow.desktop \
|
substituteInPlace $out/opt/pinegrow/Pinegrow.desktop \
|
||||||
--replace 'Exec=sh -c "$(dirname %k)/PinegrowLibrary"' 'Exec=sh -c "$out/bin/Pinegrow"'
|
--replace 'Exec=sh -c "$(dirname %k)/PinegrowLibrary"' 'Exec=sh -c "$out/bin/pinegrow"'
|
||||||
mv $out/opt/pinegrow/Pinegrow.desktop $out/share/applications/Pinegrow.desktop
|
mv $out/opt/pinegrow/Pinegrow.desktop $out/share/applications/pinegrow.desktop
|
||||||
ln -s $out/opt/pinegrow/PinegrowLibrary $out/bin/Pinegrow
|
ln -s $out/opt/pinegrow/PinegrowLibrary $out/bin/pinegrow
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# GSETTINGS_SCHEMAS_PATH is not set in installPhase
|
# GSETTINGS_SCHEMAS_PATH is not set in installPhase
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
wrapProgram $out/bin/Pinegrow \
|
wrapProgram $out/bin/pinegrow \
|
||||||
''${makeWrapperArgs[@]} \
|
''${makeWrapperArgs[@]} \
|
||||||
''${gappsWrapperArgs[@]}
|
''${gappsWrapperArgs[@]}
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue