summary refs log tree commit diff
path: root/pkgs/applications/graphics/feh/default.nix
blob: e9d86aca52d58cf1646a21b12f771f27f31829a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, fetchurl, x11, imlib2, libjpeg, libpng, giblib
, libXinerama }:

stdenv.mkDerivation {
  name = "feh-1.6.1";

  src = fetchurl {
    url = http://www.chaosdorf.de/~derf/feh/feh-1.6.1.tar.bz2;
    sha256 = "1mv09b34ar0dx4wl22xak2g554xgpylicqy5zbnk3bh66vn9pxz2";
  };

  buildInputs = [x11 imlib2 giblib libjpeg libpng libXinerama];

  preBuild = ''
    makeFlags="PREFIX=$out"
  '';

  meta = {
    description = "A light-weight image viewer";
    homepage = https://derf.homelinux.org/projects/feh/;
    license = "BSD";
    maintainers = with stdenv.lib.maintainers; [viric];
    platforms = with stdenv.lib.platforms; linux;
  };
}