2016-09-11 21:24:51 +00:00
|
|
|
{ stdenv, fetchurl, fetchpatch, pkgconfig, gtk2, poppler }:
|
2016-02-09 02:03:28 +00:00
|
|
|
|
2010-01-17 01:39:29 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "epdfview";
|
2017-04-03 09:43:08 +00:00
|
|
|
version = "0.1.8";
|
2016-02-09 02:03:28 +00:00
|
|
|
|
2010-01-17 01:39:29 +00:00
|
|
|
src = fetchurl {
|
2017-04-03 09:43:08 +00:00
|
|
|
url = "mirror://debian/pool/main/e/epdfview/epdfview_${version}.orig.tar.gz";
|
|
|
|
sha256 = "0ibyb60a0b4n34bsjgvhdw8yf24463ky0hpmf6a2jjqsbm5g4v64";
|
2010-01-17 01:39:29 +00:00
|
|
|
};
|
2016-02-09 02:03:28 +00:00
|
|
|
|
2017-04-03 09:43:08 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ gtk2 poppler ];
|
2016-02-09 02:03:28 +00:00
|
|
|
|
2016-02-26 17:38:15 +00:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-09 02:03:28 +00:00
|
|
|
|
2014-11-14 13:30:38 +00:00
|
|
|
patches = [ (fetchpatch {
|
|
|
|
name = "epdfview-0.1.8-glib2-headers.patch";
|
|
|
|
url = "https://projects.archlinux.org/svntogit/community.git/plain/trunk/epdfview-0.1.8-glib2-headers.patch?h=packages/epdfview&id=40ba115c860bdec31d03a30fa594a7ec2864d634";
|
2014-11-15 13:39:50 +00:00
|
|
|
sha256 = "17df6s1zij5ficj67xszq6kd88cy620az3ic55065ccnmsd73f8h";
|
2014-11-14 13:30:38 +00:00
|
|
|
})
|
|
|
|
(fetchpatch {
|
|
|
|
name = "epdfview-0.1.8-modern-cups.patch";
|
|
|
|
url = "https://projects.archlinux.org/svntogit/community.git/plain/trunk/epdfview-0.1.8-modern-cups.patch?h=packages/epdfview&id=40ba115c860bdec31d03a30fa594a7ec2864d634";
|
2014-11-15 13:39:50 +00:00
|
|
|
sha256 = "07yvgvai2bvbr5fa1mv6lg7nqr0qyryjn1xyjlh8nidg9k9vv001";
|
2014-11-14 13:30:38 +00:00
|
|
|
})
|
|
|
|
];
|
2016-02-09 02:03:28 +00:00
|
|
|
|
2017-04-03 09:43:08 +00:00
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://packages.debian.org/wheezy/epdfview";
|
2019-09-03 22:49:40 +00:00
|
|
|
description = "A lightweight PDF document viewer using Poppler and GTK";
|
2010-01-17 01:39:29 +00:00
|
|
|
longDescription = ''
|
2019-09-03 22:49:40 +00:00
|
|
|
ePDFView is a free lightweight PDF document viewer using Poppler and
|
|
|
|
GTK libraries. The aim of ePDFView is to make a simple PDF document
|
|
|
|
viewer, in the lines of Evince but without using the Gnome libraries.
|
2010-01-17 01:39:29 +00:00
|
|
|
'';
|
2017-04-03 09:43:08 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.astsmtl ];
|
|
|
|
platforms = platforms.linux;
|
2010-01-17 01:39:29 +00:00
|
|
|
};
|
|
|
|
}
|