sxiv: 1.1.1 - 1.2

This commit is contained in:
Domen Kožar 2014-10-11 18:06:46 +02:00
parent 01854619cd
commit 51ac867551

View File

@ -1,14 +1,16 @@
{ stdenv, fetchurl, libX11, imlib2, giflib }:
stdenv.mkDerivation {
name = "sxiv-1.1.1";
stdenv.mkDerivation rec {
name = "sxiv-1.2";
src = fetchurl {
url = "https://github.com/muennich/sxiv/archive/v1.1.1.tar.gz";
name = "sxiv-1.1.tar.gz";
sha256 = "07r8125xa8d5q71ql71s4i1dx4swy8hypxh2s5h7z2jnn5y9nmih";
url = "https://github.com/muennich/sxiv/archive/v1.2.tar.gz";
name = "${name}.tar.gz";
sha256 = "1wwcxy2adc67xd8x6c2sayy1cjcwrv2lvv1iwln7y4w992gbcxmc";
};
patches = [ ./146.patch ];
buildInputs = [ libX11 imlib2 giflib ];
prePatch = ''sed -i "s@/usr/local@$out@" Makefile'';