2014-11-14 13:30:38 +00:00
|
|
|
{ stdenv, fetchurl, fetchpatch, pkgconfig, gtk, poppler }:
|
2010-01-17 01:39:29 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2011-06-13 17:20:50 +01:00
|
|
|
name = "epdfview-0.1.8";
|
2010-01-17 01:39:29 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://trac.emma-soft.com/epdfview/chrome/site/releases/${name}.tar.bz2";
|
2011-06-13 17:20:50 +01:00
|
|
|
sha256 = "1w7qybh8ssl4dffi5qfajq8mndw7ipsd92vkim03nywxgjp4i1ll";
|
2010-01-17 01:39:29 +00:00
|
|
|
};
|
|
|
|
buildInputs = [ pkgconfig gtk poppler ];
|
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";
|
|
|
|
sha256 = "13ha8l3ysw065wr1gpi33dr3r23pv2w51iczzkx6pnxsqk9cda4f";
|
|
|
|
})
|
|
|
|
(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";
|
|
|
|
sha256 = "15pjriq0ppnjgmr26r9zj9smv301w8szwps6n87sshm0yiw9sli7";
|
|
|
|
})
|
|
|
|
];
|
2010-01-17 01:39:29 +00:00
|
|
|
meta = {
|
|
|
|
homepage = http://trac.emma-soft.com/epdfview/;
|
|
|
|
description = "A lightweight PDF document viewer using Poppler and GTK+";
|
|
|
|
longDescription = ''
|
|
|
|
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.
|
|
|
|
'';
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2010-01-17 01:39:29 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ astsmtl ];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|