2014-11-04 00:01:03 +01:00
|
|
|
{ stdenv, fetchgit, libX11, imlib2, giflib, libexif }:
|
2013-05-24 10:21:34 +02:00
|
|
|
|
2014-11-15 02:53:20 +01:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "sxiv-1.3-git";
|
2013-05-24 10:21:34 +02:00
|
|
|
|
2014-11-04 00:01:03 +01:00
|
|
|
src = fetchgit {
|
2014-11-05 12:33:45 +01:00
|
|
|
url = "https://github.com/muennich/sxiv.git";
|
2014-11-15 02:53:20 +01:00
|
|
|
rev = "54af451b4a81b5b1072f27de0981a2d39cabc2d6";
|
|
|
|
sha256 = "1b0fb6bd8d36af4c7f1160fcc12b5b7382546c7da35b4924d259f7efaa4c97d0";
|
2013-05-24 10:21:34 +02:00
|
|
|
};
|
|
|
|
|
2014-11-04 00:01:03 +01:00
|
|
|
postUnpack = ''
|
|
|
|
substituteInPlace $sourceRoot/Makefile \
|
|
|
|
--replace /usr/local $out
|
|
|
|
'';
|
2013-05-24 10:21:34 +02:00
|
|
|
|
2014-11-04 00:01:03 +01:00
|
|
|
buildInputs = [ libX11 imlib2 giflib libexif ];
|
2013-05-24 10:21:34 +02:00
|
|
|
meta = {
|
|
|
|
description = "Simple X Image Viewer";
|
|
|
|
homepage = "https://github.com/muennich/sxiv";
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2013-05-24 10:21:34 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-10-22 19:41:56 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
|
2013-05-24 10:21:34 +02:00
|
|
|
};
|
|
|
|
}
|