2014-02-16 13:08:48 +00:00
|
|
|
{ stdenv, makeWrapper, fetchurl, x11, imlib2, libjpeg, libpng, giblib
|
2011-06-15 09:22:15 +01:00
|
|
|
, libXinerama, curl }:
|
2007-03-05 13:44:27 +00:00
|
|
|
|
2013-01-22 13:51:28 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2014-01-21 19:19:21 +00:00
|
|
|
name = "feh-2.9.3";
|
2007-03-05 13:44:27 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-01-22 13:51:28 +00:00
|
|
|
url = "http://feh.finalrewind.org/${name}.tar.bz2";
|
2014-01-21 19:19:21 +00:00
|
|
|
sha256 = "1wlhfbglzc1jzsh80s4s1fawclgzyjy2105ffzx2mw9s0c1xds5l";
|
2007-03-05 13:44:27 +00:00
|
|
|
};
|
|
|
|
|
2014-02-16 13:08:48 +00:00
|
|
|
buildInputs = [makeWrapper x11 imlib2 giblib libjpeg libpng libXinerama curl ];
|
2010-06-03 15:41:41 +01:00
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
makeFlags="PREFIX=$out"
|
|
|
|
'';
|
2007-03-05 13:44:27 +00:00
|
|
|
|
2014-02-16 13:08:48 +00:00
|
|
|
postInstall = ''
|
|
|
|
wrapProgram "$out/bin/feh" --prefix PATH : "${libjpeg}/bin"
|
|
|
|
'';
|
|
|
|
|
2007-03-05 13:44:27 +00:00
|
|
|
meta = {
|
|
|
|
description = "A light-weight image viewer";
|
2010-06-03 15:41:41 +01:00
|
|
|
homepage = https://derf.homelinux.org/projects/feh/;
|
|
|
|
license = "BSD";
|
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
2007-03-05 13:44:27 +00:00
|
|
|
};
|
|
|
|
}
|