mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
Merge pull request #97752 from doronbehar/pkg/qpdf
qpdf: 9.1.1 -> 10.0.1
This commit is contained in:
commit
bdbe60a883
@ -1,24 +1,20 @@
|
||||
{ stdenv, fetchurl, libjpeg, zlib, perl }:
|
||||
{ stdenv, fetchFromGitHub, libjpeg, zlib, perl }:
|
||||
|
||||
let version = "9.1.1";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "qpdf";
|
||||
inherit version;
|
||||
version = "10.0.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/qpdf/qpdf/${version}/${pname}-${version}.tar.gz";
|
||||
sha256 = "0dj27wb9xg6pg95phbflfvy9rwxn1gh3kc4n175g0pf41r0zrim2";
|
||||
src = fetchFromGitHub {
|
||||
owner = "qpdf";
|
||||
repo = "qpdf";
|
||||
rev = "release-qpdf-${version}";
|
||||
sha256 = "0g3rqf4wd1n9cms7ra1jnszsgw5bygv37jq2l20d8z5fajckhyyi";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ perl ];
|
||||
|
||||
buildInputs = [ zlib libjpeg ];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs qpdf/fix-qdf
|
||||
'';
|
||||
|
||||
preCheck = ''
|
||||
patchShebangs qtest/bin/qtest-driver
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user