summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/misc/epdfview
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2016-02-09 02:03:28 +0000
committerRobin Gloster <mail@glob.in>2016-02-09 02:03:28 +0000
commit6951a7d1c1838bb6fd1c6f9a161a145ae5476747 (patch)
tree4f89fe4f64541a3ed6eacd2bbbd591ab3db8d12f /pkgs/applications/misc/epdfview
parent3e8a2e73a6c5c31d1a6e43be7a21fd4222e4daab (diff)
epdfview: turn off format hardening
Diffstat (limited to 'pkgs/applications/misc/epdfview')
-rw-r--r--pkgs/applications/misc/epdfview/default.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/applications/misc/epdfview/default.nix b/pkgs/applications/misc/epdfview/default.nix
index da198e6d88b0..7810284973f3 100644
--- a/pkgs/applications/misc/epdfview/default.nix
+++ b/pkgs/applications/misc/epdfview/default.nix
@@ -1,11 +1,17 @@
{ stdenv, fetchurl, fetchpatch, pkgconfig, gtk, poppler }:
+
stdenv.mkDerivation rec {
name = "epdfview-0.1.8";
+
src = fetchurl {
url = "http://trac.emma-soft.com/epdfview/chrome/site/releases/${name}.tar.bz2";
sha256 = "1w7qybh8ssl4dffi5qfajq8mndw7ipsd92vkim03nywxgjp4i1ll";
};
+
buildInputs = [ pkgconfig gtk poppler ];
+
+ hardening_format = false;
+
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";
@@ -17,13 +23,14 @@ stdenv.mkDerivation rec {
sha256 = "07yvgvai2bvbr5fa1mv6lg7nqr0qyryjn1xyjlh8nidg9k9vv001";
})
];
+
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.
+ viewer, in the lines of Evince but without using the Gnome libraries.
'';
license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [ astsmtl ];