diff options
author | Sandro Jäckel <sandro.jaeckel@sap.com> | 2022-10-28 15:58:35 +0200 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@sap.com> | 2022-10-28 15:58:49 +0200 |
commit | 824662f6c06ccbb9764a34d5fe5f140b15b6446a (patch) | |
tree | ce712106541f85ef004172f092f1b80811be4da4 | |
parent | ac82616ab524910f8efe48db941d8dbcb6c8d3ab (diff) |
xmlsec: propagate libxslt, cleanup meta
-rw-r--r-- | pkgs/development/libraries/xmlsec/default.nix | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/pkgs/development/libraries/xmlsec/default.nix b/pkgs/development/libraries/xmlsec/default.nix index e4c0e57e76c2d..7f3dc9d609459 100644 --- a/pkgs/development/libraries/xmlsec/default.nix +++ b/pkgs/development/libraries/xmlsec/default.nix @@ -22,15 +22,20 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkg-config ]; - buildInputs = [ libxml2 gnutls libxslt libgcrypt libtool openssl nss ]; + buildInputs = [ libxml2 gnutls libgcrypt libtool openssl nss ]; + + propagatedBuildInputs = [ + # required by xmlsec/transforms.h + libxslt + ]; enableParallelBuilding = true; doCheck = true; checkInputs = [ nss.tools ]; preCheck = '' - substituteInPlace tests/testrun.sh \ - --replace 'timestamp=`date +%Y%m%d_%H%M%S`' 'timestamp=19700101_000000' \ - --replace 'TMPFOLDER=/tmp' '$(mktemp -d)' + substituteInPlace tests/testrun.sh \ + --replace 'timestamp=`date +%Y%m%d_%H%M%S`' 'timestamp=19700101_000000' \ + --replace 'TMPFOLDER=/tmp' '$(mktemp -d)' ''; # enable deprecated soap headers required by lasso @@ -67,13 +72,14 @@ stdenv.mkDerivation rec { touch $out ''; - meta = { + meta = with lib; { description = "XML Security Library in C based on libxml2"; - homepage = "http://www.aleksey.com/xmlsec"; + homepage = "https://www.aleksey.com/xmlsec/"; downloadPage = "https://www.aleksey.com/xmlsec/download.html"; - license = lib.licenses.mit; + license = licenses.mit; mainProgram = "xmlsec1"; - platforms = with lib.platforms; linux ++ darwin; + maintainers = with maintainers; [ ]; + platforms = with platforms; linux ++ darwin; }; } ) |