Merge pull request #30037 from leenaars/pdfsig

poppler: add nss to allow for building pdfsig
This commit is contained in:
Jan Tojnar 2018-06-02 14:01:40 +02:00 committed by GitHub
commit 56a9ab5b8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -3,7 +3,7 @@
, withData ? true, poppler_data , withData ? true, poppler_data
, qt5Support ? false, qtbase ? null , qt5Support ? false, qtbase ? null
, introspectionSupport ? false, gobjectIntrospection ? null , introspectionSupport ? false, gobjectIntrospection ? null
, utils ? false , utils ? false, nss ? null
, minimal ? false, suffix ? "glib" , minimal ? false, suffix ? "glib"
}: }:
@ -28,6 +28,7 @@ stdenv.mkDerivation rec {
[ zlib freetype fontconfig libjpeg openjpeg ] [ zlib freetype fontconfig libjpeg openjpeg ]
++ optionals (!minimal) [ cairo lcms curl ] ++ optionals (!minimal) [ cairo lcms curl ]
++ optional qt5Support qtbase ++ optional qt5Support qtbase
++ optional utils nss
++ optional introspectionSupport gobjectIntrospection; ++ optional introspectionSupport gobjectIntrospection;
nativeBuildInputs = [ cmake ninja pkgconfig ]; nativeBuildInputs = [ cmake ninja pkgconfig ];
@ -49,7 +50,9 @@ stdenv.mkDerivation rec {
description = "A PDF rendering library"; description = "A PDF rendering library";
longDescription = '' longDescription = ''
Poppler is a PDF rendering library based on the xpdf-3.0 code base. Poppler is a PDF rendering library based on the xpdf-3.0 code
base. In addition it provides a number of tools that can be
installed separately.
''; '';
license = licenses.gpl2; license = licenses.gpl2;