1 { lib, stdenv, fetchurl, fetchpatch, pkg-config, gtk2, poppler }:
3 stdenv.mkDerivation rec {
8 url = "mirror://debian/pool/main/e/epdfview/epdfview_${version}.orig.tar.gz";
9 sha256 = "0ibyb60a0b4n34bsjgvhdw8yf24463ky0hpmf6a2jjqsbm5g4v64";
12 nativeBuildInputs = [ pkg-config ];
13 buildInputs = [ gtk2 poppler ];
15 hardeningDisable = [ "format" ];
17 patches = [ (fetchpatch {
18 name = "epdfview-0.1.8-glib2-headers.patch";
19 url = "https://projects.archlinux.org/svntogit/community.git/plain/trunk/epdfview-0.1.8-glib2-headers.patch?h=packages/epdfview&id=40ba115c860bdec31d03a30fa594a7ec2864d634";
20 sha256 = "17df6s1zij5ficj67xszq6kd88cy620az3ic55065ccnmsd73f8h";
23 name = "epdfview-0.1.8-modern-cups.patch";
24 url = "https://projects.archlinux.org/svntogit/community.git/plain/trunk/epdfview-0.1.8-modern-cups.patch?h=packages/epdfview&id=40ba115c860bdec31d03a30fa594a7ec2864d634";
25 sha256 = "07yvgvai2bvbr5fa1mv6lg7nqr0qyryjn1xyjlh8nidg9k9vv001";
30 homepage = "https://packages.debian.org/wheezy/epdfview";
31 description = "A lightweight PDF document viewer using Poppler and GTK";
33 ePDFView is a free lightweight PDF document viewer using Poppler and
34 GTK libraries. The aim of ePDFView is to make a simple PDF document
35 viewer, in the lines of Evince but without using the Gnome libraries.
37 license = licenses.gpl2;
38 maintainers = [ maintainers.astsmtl ];
39 platforms = platforms.linux;