summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Scott <code@humanleg.org.uk>2023-02-12 11:34:39 +0000
committerGitHub <noreply@github.com>2023-02-12 11:34:39 +0000
commitb78f77efc58ccb5ae72a3695ab50937e0f53f8f2 (patch)
tree7b531e7489b67fe6def40a91f19e516fe46a37e2
parentallure: 2.20.1 -> 2.21.0 (diff)
parentgnutls: add some key reverse dependencies to passthru.tests (diff)
downloadnixpkgs-b78f77efc58ccb5ae72a3695ab50937e0f53f8f2.tar.gz
Merge pull request #215868 from risicle/ris-gnutls-passthru-tests
gnutls: add some key reverse dependencies to passthru.tests
-rw-r--r--pkgs/development/libraries/gnutls/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/libraries/gnutls/default.nix b/pkgs/development/libraries/gnutls/default.nix
index f1ec87ba008d..4ab7360f1f07 100644
--- a/pkgs/development/libraries/gnutls/default.nix
+++ b/pkgs/development/libraries/gnutls/default.nix
@@ -7,6 +7,19 @@
, withP11-kit ? !stdenv.hostPlatform.isStatic, p11-kit
, withSecurity ? true, Security # darwin Security.framework
# certificate compression - only zlib now, more possible: zstd, brotli
+
+# for passthru.tests
+, curlWithGnuTls
+, emacs
+, ffmpeg
+, haskellPackages
+, knot-resolver
+, ngtcp2-gnutls
+, ocamlPackages
+, python3Packages
+, qemu
+, rsyslog
+, samba
}:
assert guileBindings -> guile != null;
@@ -105,6 +118,14 @@ stdenv.mkDerivation rec {
--replace "-lunistring" ""
'';
+ passthru.tests = {
+ inherit ngtcp2-gnutls curlWithGnuTls ffmpeg emacs qemu knot-resolver;
+ inherit (ocamlPackages) ocamlnet;
+ haskell-gnutls = haskellPackages.gnutls;
+ python3-gnutls = python3Packages.python3-gnutls;
+ rsyslog = rsyslog.override { withGnutls = true; };
+ };
+
meta = with lib; {
description = "The GNU Transport Layer Security Library";