about summary refs log tree commit diff
path: root/pkgs/development/python-modules/cython/default.nix
diff options
context:
space:
mode:
authorTom Hubrecht <tom@hubrecht.ovh>2024-05-06 14:13:20 +0200
committerTom Hubrecht <tom@hubrecht.ovh>2024-05-06 19:51:19 +0200
commitde1618552c9956bf2c5915d94c584a017e3c4a3d (patch)
tree68af624a2131cb916ee8b937831c5361f511e9bd /pkgs/development/python-modules/cython/default.nix
parent48833103ac1d5d8fff697201d7d48751bbbf7151 (diff)
sage: Add as passthru.tests to critical dependencies
Diffstat (limited to 'pkgs/development/python-modules/cython/default.nix')
-rw-r--r--pkgs/development/python-modules/cython/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/cython/default.nix b/pkgs/development/python-modules/cython/default.nix
index e73c09f40b019..fecb9cad26ce0 100644
--- a/pkgs/development/python-modules/cython/default.nix
+++ b/pkgs/development/python-modules/cython/default.nix
@@ -8,6 +8,9 @@
 , gdb
 , numpy
 , ncurses
+
+# Reverse dependency
+, sage
 }:
 
 let
@@ -57,6 +60,8 @@ in buildPythonPackage rec {
   doCheck = false;
   # doCheck = !stdenv.isDarwin;
 
+  passthru.tests = { inherit sage; };
+
   # force regeneration of generated code in source distributions
   # https://github.com/cython/cython/issues/5089
   setupHook = ./setup-hook.sh;