mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 11:08:28 +00:00
qdigidoc: fetch TSL info
This commit is contained in:
parent
02644780d2
commit
4b61b7814e
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchgit, cmake, gettext, makeWrapper, pkgconfig, libdigidocpp
|
{ stdenv, fetchgit, fetchurl, cmake, darkhttpd, gettext, makeWrapper, pkgconfig
|
||||||
, opensc, openldap, openssl, pcsclite, qtbase, qttranslations }:
|
, libdigidocpp, opensc, openldap, openssl, pcsclite, qtbase, qttranslations }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "qdigidoc-${version}";
|
name = "qdigidoc-${version}";
|
||||||
@ -12,13 +12,23 @@ stdenv.mkDerivation rec {
|
|||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
tsl = fetchurl {
|
||||||
|
url = "https://ec.europa.eu/information_society/policy/esignature/trusted-list/tl-mp.xml";
|
||||||
|
sha256 = "0llr2fj8vd097hcr1d0xmzdy4jydv0b5j5qlksbjffs22rqgal14";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake darkhttpd gettext makeWrapper pkgconfig ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace client/CMakeLists.txt \
|
||||||
|
--replace $\{TSL_URL} file://${tsl}
|
||||||
|
'';
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
# https://github.com/open-eid/qdigidoc/pull/163
|
# https://github.com/open-eid/qdigidoc/pull/163
|
||||||
./qt511.patch
|
./qt511.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake gettext makeWrapper pkgconfig ];
|
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
libdigidocpp
|
libdigidocpp
|
||||||
opensc
|
opensc
|
||||||
|
Loading…
Reference in New Issue
Block a user