2010-06-03 18:41:41 +04:00
|
|
|
{ stdenv, fetchurl, x11, imlib2, libjpeg, libpng, giblib
|
2011-06-15 12:22:15 +04:00
|
|
|
, libXinerama, curl }:
|
2007-03-05 16:44:27 +03:00
|
|
|
|
2013-01-22 17:51:28 +04:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "feh-2.8";
|
2007-03-05 16:44:27 +03:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-01-22 17:51:28 +04:00
|
|
|
url = "http://feh.finalrewind.org/${name}.tar.bz2";
|
|
|
|
sha256 = "0zmslchnzvi9ydxj2mgci4x8zpv5mdfkf7kyny3nibbpajibqmrx";
|
2007-03-05 16:44:27 +03:00
|
|
|
};
|
|
|
|
|
2012-03-08 17:45:58 +04:00
|
|
|
buildInputs = [x11 imlib2 giblib libjpeg libpng libXinerama curl ];
|
2010-06-03 18:41:41 +04:00
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
makeFlags="PREFIX=$out"
|
|
|
|
'';
|
2007-03-05 16:44:27 +03:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A light-weight image viewer";
|
2010-06-03 18:41:41 +04: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 16:44:27 +03:00
|
|
|
};
|
|
|
|
}
|