summaryrefslogtreecommitdiff
path: root/pkgs/applications/graphics/emulsion/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/graphics/emulsion/default.nix')
-rw-r--r--pkgs/applications/graphics/emulsion/default.nix17
1 files changed, 5 insertions, 12 deletions
diff --git a/pkgs/applications/graphics/emulsion/default.nix b/pkgs/applications/graphics/emulsion/default.nix
index 9792ce4d6d2b..3012250b9ce3 100644
--- a/pkgs/applications/graphics/emulsion/default.nix
+++ b/pkgs/applications/graphics/emulsion/default.nix
@@ -37,16 +37,16 @@ let
in
rustPlatform.buildRustPackage rec {
pname = "emulsion";
- version = "8.0";
+ version = "9.0";
src = fetchFromGitHub {
owner = "ArturKovacs";
repo = pname;
rev = "v${version}";
- sha256 = "sha256-xv3q59HobunrFyc+CPLztpsQd20Eu4+JI+iYhlGI0bc=";
+ sha256 = "sha256-Cdi+PQDHxMQG7t7iwDi6UWfDwQjjA2yiOf9p/ahBlOw=";
};
- cargoSha256 = "sha256-37xtdFbtbfGUqaSpzlxDQfe1+0ESHz/rgO1iTPBEBLc=";
+ cargoSha256 = "sha256-2wiLamnGqACx1r4WJbWPCN3tvhww/rRWz8fcvAbjYE0=";
nativeBuildInputs = [
installShellFiles
@@ -63,17 +63,10 @@ rustPlatform.buildRustPackage rec {
OpenGL
];
- installPhase = ''
- runHook preInstall
- install -D $releaseDir/emulsion $out/bin/emulsion
- '' + lib.optionalString stdenv.isLinux ''
- patchelf --set-rpath "${lib.makeLibraryPath rpathLibs}" $out/bin/emulsion
- '' + ''
- runHook postInstall
+ postFixup = lib.optionalString stdenv.isLinux ''
+ patchelf --set-rpath "${lib.makeLibraryPath rpathLibs}" $out/bin/emulsion
'';
- dontPatchELF = true;
-
meta = with lib; {
description = "A fast and minimalistic image viewer";
homepage = "https://arturkovacs.github.io/emulsion-website/";