nixpkgs/pkgs/development/libraries/qpdf/default.nix
R. RyanTM 3573045541 qpdf: 8.0.0 -> 8.0.2
Semi-automatic update generated by https://github.com/ryantm/nix-update tools.

This update was made based on information from https://repology.org/metapackage/qpdf/versions.

These checks were done:

- built on NixOS
- ran `/nix/store/ck7mhavin0im813rf4hawqswmrg47pc8-qpdf-8.0.2/bin/fix-qdf --version` and found version 8.0.2
- ran `/nix/store/ck7mhavin0im813rf4hawqswmrg47pc8-qpdf-8.0.2/bin/qpdf --help` got 0 exit code
- ran `/nix/store/ck7mhavin0im813rf4hawqswmrg47pc8-qpdf-8.0.2/bin/qpdf --version` and found version 8.0.2
- found 8.0.2 with grep in /nix/store/ck7mhavin0im813rf4hawqswmrg47pc8-qpdf-8.0.2
- directory tree listing: https://gist.github.com/3d0da50b8418a253f7a33f8df1e1ed7f
2018-04-05 14:39:01 +03:00

35 lines
873 B
Nix

{ stdenv, fetchurl, libjpeg, zlib, perl }:
let version = "8.0.2";
in
stdenv.mkDerivation rec {
name = "qpdf-${version}";
src = fetchurl {
url = "mirror://sourceforge/qpdf/qpdf/${version}/${name}.tar.gz";
sha256 = "1hf8jfjar8p7v288d7ccmr8w171mv9kb86b6hq1nk58mnlq1g7mh";
};
nativeBuildInputs = [ perl ];
buildInputs = [ zlib libjpeg ];
postPatch = ''
patchShebangs qpdf/fix-qdf
'';
preCheck = ''
patchShebangs qtest/bin/qtest-driver
'';
doCheck = true;
enableParallelBuilding = true;
meta = with stdenv.lib; {
homepage = http://qpdf.sourceforge.net/;
description = "A C++ library and set of programs that inspect and manipulate the structure of PDF files";
license = licenses.asl20; # as of 7.0.0, people may stay at artistic2
maintainers = with maintainers; [ abbradar ];
platforms = platforms.all;
};
}