sxiv: 1.3.2 -> 24

This commit is contained in:
Vladyslav M 2018-02-24 12:27:26 +02:00 committed by obadz
parent fffd3c4c41
commit 9e1c2ba82c

View File

@ -1,16 +1,16 @@
{ stdenv, fetchFromGitHub, libX11, imlib2, giflib, libexif, conf ? null }:
{ stdenv, fetchFromGitHub, libXft, imlib2, giflib, libexif, conf ? null }:
with stdenv.lib;
stdenv.mkDerivation rec {
name = "sxiv-${version}";
version = "1.3.2";
version = "24";
src = fetchFromGitHub {
owner = "muennich";
repo = "sxiv";
rev = "v${version}";
sha256 = "1f4gz1qjhb44bbb3q5fqk439zyipkwnr19zhg89yq2pgmzzzqr2h";
sha256 = "020n1bdxbzqncprh8a4rnjzc4frp335yxbqh5w6dr970f7n5qm8d";
};
postUnpack = ''
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
configFile = optionalString (conf!=null) (builtins.toFile "config.def.h" conf);
preBuild = optionalString (conf!=null) "cp ${configFile} config.def.h";
buildInputs = [ libX11 imlib2 giflib libexif ];
buildInputs = [ libXft imlib2 giflib libexif ];
postInstall = ''
mkdir -p $out/share/applications/