2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, numpy, scipy, six, decorator, nose }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "paramz";
|
|
|
|
version = "0.9.5";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0917211c0f083f344e7f1bc997e0d713dbc147b6380bc19f606119394f820b9a";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ numpy scipy six decorator ];
|
2020-12-29 15:07:52 +00:00
|
|
|
checkInputs = [ nose ];
|
|
|
|
|
|
|
|
# Ran 113 tests in 3.082s
|
|
|
|
checkPhase = ''
|
|
|
|
nosetests -v paramz/tests
|
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Parameterization framework for parameterized model creation and handling";
|
|
|
|
homepage = "https://github.com/sods/paramz";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ bcdarwin ];
|
|
|
|
};
|
|
|
|
}
|