summary refs log tree commit diff
path: root/pkgs/applications/graphics/djview/default.nix
blob: 2ce1ebb257dc493afe64812abd65be0e2c25fb2b (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
26
27
28
{ stdenv, fetchurl, pkgconfig
, djvulibre, qt4, xorg, libtiff }:

stdenv.mkDerivation rec {
  name = "djview-${version}";
  version = "4.10.6";

  src = fetchurl {
    url = "mirror://sourceforge/djvu/${name}.tar.gz";
    sha256 = "08bwv8ppdzhryfcnifgzgdilb12jcnivl4ig6hd44f12d76z6il4";
  };

  nativeBuildInputs = [ pkgconfig ];

  buildInputs = [ djvulibre qt4 xorg.libXt libtiff ];

  passthru = {
    mozillaPlugin = "/lib/netscape/plugins";
  };

  meta = with stdenv.lib; {
    homepage = http://djvu.sourceforge.net/djview4.html;
    description = "A portable DjVu viewer and browser plugin";
    license = licenses.gpl2;
    platforms = platforms.unix;
    maintainers = [ maintainers.urkud ];
  };
}