python39Packages.paramz: fix infinite loop on darwin

This commit is contained in:
Robert T. McGibbon 2020-12-27 12:14:00 -05:00
parent 5afb1fed39
commit aaef07f51a

View file

@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, numpy, scipy, six, decorator }:
{ stdenv, buildPythonPackage, fetchPypi, numpy, scipy, six, decorator, nose }:
buildPythonPackage rec {
pname = "paramz";
@ -10,6 +10,12 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [ numpy scipy six decorator ];
checkInputs = [ nose ];
# Ran 113 tests in 3.082s
checkPhase = ''
nosetests -v paramz/tests
'';
meta = with stdenv.lib; {
description = "Parameterization framework for parameterized model creation and handling";