git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #104472 from doronbehar/pkg/xmlsec
commit840661a70621d636e1086dc0f9619410551b3044 authorDoron Behar <doron.behar@gmail.com> dateSat 21 Nov 2020, 21:13 (6 years ago) parentc99cd56ea9cada
1 file changed+7−5
pkgs/development/libraries/xmlsec/default.nix+7−5
pkgs/development/libraries/xmlsec/default.nix+7−5
@@ -1,9 +1,11 @@
11{ stdenv, fetchurl, libxml2, gnutls, libxslt, pkgconfig, libgcrypt, libtool
2−, openssl, nss, lib, runCommandCC, writeText }:
2+# nss_3_53 is used instead of the latest due to a number of issues:
3+# https://github.com/lsh123/xmlsec/issues?q=is%3Aissue+is%3Aopen+nss
4+, openssl, nss_3_53, lib, runCommandCC, writeText }:
35
46lib.fix (self:
57let
6− version = "1.2.30";
8+ version = "1.2.31";
79in
810stdenv.mkDerivation {
911 pname = "xmlsec";
@@ -11,7 +13,7 @@ stdenv.mkDerivation {
1113
1214 src = fetchurl {
1315 url = "https://www.aleksey.com/xmlsec/download/xmlsec1-${version}.tar.gz";
14− sha256 = "1j5bf7ni45jghyrbf7a14wx2pvfara557zyry7g7h8840c5kd11d";
16+ sha256 = "mxC8Uswx5PdhYuOXXlDbJrcatJxXHYELMRymJr5aCyY=";
1517 };
1618
1719 patches = [
@@ -25,11 +27,11 @@ stdenv.mkDerivation {
2527
2628 nativeBuildInputs = [ pkgconfig ];
2729
28− buildInputs = [ libxml2 gnutls libxslt libgcrypt libtool openssl nss ];
30+ buildInputs = [ libxml2 gnutls libxslt libgcrypt libtool openssl nss_3_53 ];
2931
3032 enableParallelBuilding = true;
3133 doCheck = true;
32− checkInputs = [ nss.tools ];
34+ checkInputs = [ nss_3_53.tools ];
3335
3436 # enable deprecated soap headers required by lasso
3537 # https://dev.entrouvert.org/issues/18771