libsForQt5.qgpgme: fix tests after 2019-01-06
The keys used in one of the qt tests expired on 2019-01-06 breaking the build. closes https://github.com/NixOS/nixpkgs/issues/53632
This commit is contained in:
parent
fdb87a0fee
commit
96bfa25500
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchurl, libgpgerror, gnupg, pkgconfig, glib, pth, libassuan
|
{ stdenv, fetchurl, libgpgerror, gnupg, pkgconfig, glib, pth, libassuan
|
||||||
, file, which, ncurses
|
, file, which, ncurses
|
||||||
, autoreconfHook
|
, autoreconfHook, fetchpatch
|
||||||
, git
|
, git
|
||||||
, texinfo
|
, texinfo
|
||||||
, qtbase ? null
|
, qtbase ? null
|
||||||
@ -31,6 +31,14 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ file pkgconfig gnupg autoreconfHook git texinfo ]
|
nativeBuildInputs = [ file pkgconfig gnupg autoreconfHook git texinfo ]
|
||||||
++ lib.optionals pythonSupport [ python swig2 which ncurses ];
|
++ lib.optionals pythonSupport [ python swig2 which ncurses ];
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
name = "fix-key-expiry.patch";
|
||||||
|
url = "https://files.gnupg.net/file/data/fehgbjmataj5tc2pnfhj/PHID-FILE-aqck6l4elhw53tjanrie/file";
|
||||||
|
sha256 = "1h80m045gy7r0g7dzzlfpql6p065x88p274ij9jnf7d4lwwgrf1a";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
postPatch =''
|
postPatch =''
|
||||||
substituteInPlace ./configure --replace /usr/bin/file ${file}/bin/file
|
substituteInPlace ./configure --replace /usr/bin/file ${file}/bin/file
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user