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