qpdf: 9.1.1 -> 10.0.1
Use fetchFromGitHub. Remove 1 patchShebangs hook now unneeded.
This commit is contained in:
parent
6d4b93323e
commit
5262662d80
1 changed files with 7 additions and 11 deletions
|
@ -1,24 +1,20 @@
|
||||||
{ stdenv, fetchurl, libjpeg, zlib, perl }:
|
{ stdenv, fetchFromGitHub, libjpeg, zlib, perl }:
|
||||||
|
|
||||||
let version = "9.1.1";
|
|
||||||
in
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "qpdf";
|
pname = "qpdf";
|
||||||
inherit version;
|
version = "10.0.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "mirror://sourceforge/qpdf/qpdf/${version}/${pname}-${version}.tar.gz";
|
owner = "qpdf";
|
||||||
sha256 = "0dj27wb9xg6pg95phbflfvy9rwxn1gh3kc4n175g0pf41r0zrim2";
|
repo = "qpdf";
|
||||||
|
rev = "release-qpdf-${version}";
|
||||||
|
sha256 = "0g3rqf4wd1n9cms7ra1jnszsgw5bygv37jq2l20d8z5fajckhyyi";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ perl ];
|
nativeBuildInputs = [ perl ];
|
||||||
|
|
||||||
buildInputs = [ zlib libjpeg ];
|
buildInputs = [ zlib libjpeg ];
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
patchShebangs qpdf/fix-qdf
|
|
||||||
'';
|
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
patchShebangs qtest/bin/qtest-driver
|
patchShebangs qtest/bin/qtest-driver
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue