summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@protonmail.com>2021-06-22 18:33:23 -0300
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2021-07-28 11:54:48 +0000
commit2a9cad505d95334c36874438ec8948113b769f4b (patch)
tree26879a5232c280a182843a60f2408ebd0ba70ef7
parentpoppler_0_61: cosmetical rewrite 0.61.nix (diff)
downloadnixpkgs-2a9cad505d95334c36874438ec8948113b769f4b.tar.gz
poppler: 21.05.0 -> 21.06.1
(cherry picked from commit 004970b1524ab59f791137e0954b43c2b65615bb)
-rw-r--r--pkgs/development/libraries/poppler/default.nix45
1 files changed, 23 insertions, 22 deletions
diff --git a/pkgs/development/libraries/poppler/default.nix b/pkgs/development/libraries/poppler/default.nix
index 8a5c6e132a71..08ca1456ea8f 100644
--- a/pkgs/development/libraries/poppler/default.nix
+++ b/pkgs/development/libraries/poppler/default.nix
@@ -1,44 +1,46 @@
-{ stdenv
-, lib
+{ lib
+, stdenv
, fetchurl
, fetchpatch
+, cairo
, cmake
-, ninja
-, pkg-config
-, libiconv
-, libintl
-, zlib
+, pcre
+, boost
+, cups-filters
, curl
-, cairo
-, freetype
, fontconfig
+, freetype
+, inkscape
, lcms
+, libiconv
+, libintl
, libjpeg
+, ninja
, openjpeg
+, pkg-config
+, scribusUnstable
+, texlive
+, zlib
, withData ? true, poppler_data
, qt5Support ? false, qtbase ? null
, introspectionSupport ? false, gobject-introspection ? null
, utils ? false, nss ? null
, minimal ? false
, suffix ? "glib"
-, inkscape
-, cups-filters
-, texlive
-, scribusUnstable
}:
let
mkFlag = optset: flag: "-DENABLE_${flag}=${if optset then "on" else "off"}";
in
stdenv.mkDerivation rec {
- name = "poppler-${suffix}-${version}";
- version = "21.05.0"; # beware: updates often break cups-filters build, check texlive and scribusUnstable too!
+ pname = "poppler-${suffix}";
+ version = "21.06.1"; # beware: updates often break cups-filters build, check texlive and scribusUnstable too!
outputs = [ "out" "dev" ];
src = fetchurl {
- url = "${meta.homepage}/poppler-${version}.tar.xz";
- sha256 = "sha256-2v1Te2gPrRIVvED8U9HzjoRJ18GFvGDVqJ4dJskNvYw=";
+ url = "https://poppler.freedesktop.org/poppler-${version}.tar.xz";
+ sha256 = "sha256-hrCeWgLeQAgaORbvhxHFEo6vSx/FnV+H0Oxm8E9ZXbQ=";
};
nativeBuildInputs = [
@@ -48,6 +50,8 @@ stdenv.mkDerivation rec {
];
buildInputs = [
+ boost
+ pcre
libiconv
libintl
] ++ lib.optional withData [
@@ -98,13 +102,10 @@ stdenv.mkDerivation rec {
meta = with lib; {
homepage = "https://poppler.freedesktop.org/";
description = "A PDF rendering library";
-
longDescription = ''
- 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.
+ 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.gpl2Plus;
platforms = platforms.all;
maintainers = with maintainers; [ ttuegel ] ++ teams.freedesktop.members;