summary refs log tree commit diff
path: root/pkgs/tools/networking/curl
diff options
context:
space:
mode:
authorRobert Scott <code@humanleg.org.uk>2022-05-07 15:51:02 +0100
committerRobert Scott <code@humanleg.org.uk>2022-05-07 15:54:47 +0100
commit924ebf6556118f1ccbc83e5d19e90e5ebde8efb2 (patch)
tree284cd2e862e654399ef44040246f6442761b2395 /pkgs/tools/networking/curl
parent4b53055f551f7492ea3e23feccfea6572d6e5015 (diff)
downloadnixpkgs-924ebf6556118f1ccbc83e5d19e90e5ebde8efb2.tar
nixpkgs-924ebf6556118f1ccbc83e5d19e90e5ebde8efb2.tar.gz
nixpkgs-924ebf6556118f1ccbc83e5d19e90e5ebde8efb2.tar.bz2
nixpkgs-924ebf6556118f1ccbc83e5d19e90e5ebde8efb2.tar.lz
nixpkgs-924ebf6556118f1ccbc83e5d19e90e5ebde8efb2.tar.xz
nixpkgs-924ebf6556118f1ccbc83e5d19e90e5ebde8efb2.tar.zst
nixpkgs-924ebf6556118f1ccbc83e5d19e90e5ebde8efb2.zip
curl: add some key reverse-dependencies to passthru.tests
Diffstat (limited to 'pkgs/tools/networking/curl')
-rw-r--r--pkgs/tools/networking/curl/default.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/tools/networking/curl/default.nix b/pkgs/tools/networking/curl/default.nix
index a4056fd28a9..63be9a10f7c 100644
--- a/pkgs/tools/networking/curl/default.nix
+++ b/pkgs/tools/networking/curl/default.nix
@@ -24,6 +24,15 @@
 , wolfsslSupport ? false, wolfssl ? null
 , zlibSupport ? true, zlib ? null
 , zstdSupport ? false, zstd ? null
+
+# for passthru.tests
+, coeurl
+, curlcpp
+, curlpp
+, haskellPackages
+, ocamlPackages
+, phpExtensions
+, python3
 }:
 
 # Note: this package is used for bootstrapping fetchurl, and thus
@@ -159,6 +168,13 @@ stdenv.mkDerivation rec {
 
   passthru = {
     inherit opensslSupport openssl;
+    tests = {
+      inherit curlpp curlcpp coeurl;
+      haskell-curl = haskellPackages.curl;
+      ocaml-curly = ocamlPackages.curly;
+      php-curl = phpExtensions.curl;
+      pycurl = python3.pkgs.pycurl;
+    };
   };
 
   meta = with lib; {