2010-06-03 16:41:41 +02:00
|
|
|
{ stdenv, fetchurl, x11, imlib2, libjpeg, libpng, giblib
|
2011-06-15 10:22:15 +02:00
|
|
|
, libXinerama, curl }:
|
2007-03-05 14:44:27 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2011-10-12 23:25:05 +02:00
|
|
|
name = "feh-2.0";
|
2007-03-05 14:44:27 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-10-12 23:25:05 +02:00
|
|
|
url = http://feh.finalrewind.org/feh-2.0.tar.bz2;
|
|
|
|
sha256 = "0ilrabi0i4gads6b5r4d7svdav00n5vxjcn6h4kbd05d2hz0mjf5";
|
2007-03-05 14:44:27 +01:00
|
|
|
};
|
|
|
|
|
2011-06-15 10:22:15 +02:00
|
|
|
buildInputs = [x11 imlib2 giblib libjpeg libpng libXinerama curl];
|
2010-06-03 16:41:41 +02:00
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
makeFlags="PREFIX=$out"
|
|
|
|
'';
|
2007-03-05 14:44:27 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A light-weight image viewer";
|
2010-06-03 16:41:41 +02: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 14:44:27 +01:00
|
|
|
};
|
|
|
|
}
|