about summary refs log tree commit diff
path: root/pkgs/development/python-modules/memory-allocator/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/memory-allocator/default.nix
parent48833103ac1d5d8fff697201d7d48751bbbf7151 (diff)
sage: Add as passthru.tests to critical dependencies
Diffstat (limited to 'pkgs/development/python-modules/memory-allocator/default.nix')
-rw-r--r--pkgs/development/python-modules/memory-allocator/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/memory-allocator/default.nix b/pkgs/development/python-modules/memory-allocator/default.nix
index c4ddc5d06a1b8..34dd55bb8dc60 100644
--- a/pkgs/development/python-modules/memory-allocator/default.nix
+++ b/pkgs/development/python-modules/memory-allocator/default.nix
@@ -2,6 +2,9 @@
 , fetchPypi
 , buildPythonPackage
 , cython
+
+# Reverse dependency
+, sage
 }:
 
 buildPythonPackage rec {
@@ -19,6 +22,8 @@ buildPythonPackage rec {
 
   pythonImportsCheck = [ "memory_allocator" ];
 
+  passthru.tests = { inherit sage; };
+
   meta = with lib; {
     description = "An extension class to allocate memory easily with cython";
     homepage = "https://github.com/sagemath/memory_allocator/";