diff options
Diffstat (limited to 'pkgs/development/python-modules/pplpy/default.nix')
-rw-r--r-- | pkgs/development/python-modules/pplpy/default.nix | 35 |
1 files changed, 23 insertions, 12 deletions
diff --git a/pkgs/development/python-modules/pplpy/default.nix b/pkgs/development/python-modules/pplpy/default.nix index 641008be07fca..6c1e7d193dbdd 100644 --- a/pkgs/development/python-modules/pplpy/default.nix +++ b/pkgs/development/python-modules/pplpy/default.nix @@ -1,14 +1,18 @@ -{ lib -, fetchPypi -, buildPythonPackage -, gmp -, mpfr -, libmpc -, ppl -, cython -, cysignals -, gmpy2 -, sphinx +{ + lib, + fetchPypi, + buildPythonPackage, + gmp, + mpfr, + libmpc, + ppl, + cython, + cysignals, + gmpy2, + sphinx, + + # Reverse dependency + sage, }: buildPythonPackage rec { @@ -38,7 +42,10 @@ buildPythonPackage rec { gmpy2 ]; - outputs = [ "out" "doc" ]; + outputs = [ + "out" + "doc" + ]; postBuild = '' # Find the build result in order to put it into PYTHONPATH. The doc @@ -54,6 +61,10 @@ buildPythonPackage rec { mv docs/build/html "$doc/share/doc/pplpy" ''; + passthru.tests = { + inherit sage; + }; + meta = with lib; { description = "A Python wrapper for ppl"; homepage = "https://gitlab.com/videlec/pplpy"; |