diff options
author | Will Dietz <w@wdtz.org> | 2020-01-16 09:02:53 -0600 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2020-01-16 22:31:50 -0600 |
commit | 905c707c16245221e6be553360a7dfe32325c567 (patch) | |
tree | 689b04ee8ffff3677c05628fee076eca376cbca9 /pkgs/applications | |
parent | 2628f20267d0c917772abc4c0a7c35788a740b31 (diff) | |
download | nixpkgs-905c707c16245221e6be553360a7dfe32325c567.tar nixpkgs-905c707c16245221e6be553360a7dfe32325c567.tar.gz nixpkgs-905c707c16245221e6be553360a7dfe32325c567.tar.bz2 nixpkgs-905c707c16245221e6be553360a7dfe32325c567.tar.lz nixpkgs-905c707c16245221e6be553360a7dfe32325c567.tar.xz nixpkgs-905c707c16245221e6be553360a7dfe32325c567.tar.zst nixpkgs-905c707c16245221e6be553360a7dfe32325c567.zip |
sxiv: 25 -> 26, minor cleanup
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/graphics/sxiv/default.nix | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/pkgs/applications/graphics/sxiv/default.nix b/pkgs/applications/graphics/sxiv/default.nix index 99c151f8c80..f5429958328 100644 --- a/pkgs/applications/graphics/sxiv/default.nix +++ b/pkgs/applications/graphics/sxiv/default.nix @@ -4,28 +4,24 @@ with stdenv.lib; stdenv.mkDerivation rec { pname = "sxiv"; - version = "25"; + version = "26"; src = fetchFromGitHub { owner = "muennich"; repo = pname; rev = "v${version}"; - sha256 = "13s1lfar142hq1j7xld0ri616p4bqs57b17yr4d0b9a9w7liz4hp"; + sha256 = "0xaawlfdy7b277m38mgg4423kd7p1ffn0dq4hciqs6ivbb3q9c4f"; }; - postUnpack = '' - substituteInPlace $sourceRoot/Makefile \ - --replace /usr/local $out - ''; - configFile = optionalString (conf!=null) (builtins.toFile "config.def.h" conf); preBuild = optionalString (conf!=null) "cp ${configFile} config.def.h"; buildInputs = [ libXft imlib2 giflib libexif ]; + makeFlags = [ "PREFIX=${placeholder "out"}" ]; + postInstall = '' - mkdir -p $out/share/applications/ - cp -v sxiv.desktop $out/share/applications/ + install -Dt $out/share/applications sxiv.desktop ''; meta = { |