From 61f8876da746ef5aa1325822b8d2ecaf0467b40c Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Sun, 16 Apr 2023 19:17:31 +0100 Subject: [PATCH] libuv: add some key reverse-dependencies to passthru.tests --- pkgs/development/libraries/libuv/default.nix | 36 ++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/libuv/default.nix b/pkgs/development/libraries/libuv/default.nix index 8a86bc46d4d..32727568db2 100644 --- a/pkgs/development/libraries/libuv/default.nix +++ b/pkgs/development/libraries/libuv/default.nix @@ -1,4 +1,27 @@ -{ stdenv, lib, fetchFromGitHub, fetchpatch, autoconf, automake, libtool, pkg-config, ApplicationServices, CoreServices, pkgsStatic }: +{ stdenv +, lib +, fetchFromGitHub +, fetchpatch +, autoconf +, automake +, libtool +, pkg-config +, ApplicationServices +, CoreServices +, pkgsStatic + +# for passthru.tests +, bind +, cmake +, knot-resolver +, lispPackages +, luajitPackages +, mosquitto +, neovim +, nodejs +, ocamlPackages +, python3 +}: stdenv.mkDerivation rec { version = "1.44.2"; @@ -79,7 +102,16 @@ stdenv.mkDerivation rec { # Some of the tests use localhost networking. __darwinAllowLocalNetworking = true; - passthru.tests.static = pkgsStatic.libuv; + passthru.tests = { + inherit bind cmake knot-resolver mosquitto neovim nodejs; + inherit (lispPackages) cl-libuv; + luajit-libluv = luajitPackages.libluv; + luajit-luv = luajitPackages.luv; + ocaml-luv = ocamlPackages.luv; + python-pyuv = python3.pkgs.pyuv; + python-uvloop = python3.pkgs.uvloop; + static = pkgsStatic.libuv; + }; meta = with lib; { description = "A multi-platform support library with a focus on asynchronous I/O";