2021-01-25 09:26:54 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, numpy, scipy, six, decorator, nose }:
|
2017-08-11 12:33:53 -04:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "paramz";
|
2019-05-30 08:49:51 +02:00
|
|
|
version = "0.9.5";
|
2017-08-11 12:33:53 -04:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-05-30 08:49:51 +02:00
|
|
|
sha256 = "0917211c0f083f344e7f1bc997e0d713dbc147b6380bc19f606119394f820b9a";
|
2017-08-11 12:33:53 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ numpy scipy six decorator ];
|
2020-12-27 12:14:00 -05:00
|
|
|
checkInputs = [ nose ];
|
|
|
|
|
|
|
|
# Ran 113 tests in 3.082s
|
|
|
|
checkPhase = ''
|
|
|
|
nosetests -v paramz/tests
|
|
|
|
'';
|
2017-08-11 12:33:53 -04:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2017-08-11 12:33:53 -04:00
|
|
|
description = "Parameterization framework for parameterized model creation and handling";
|
2020-03-31 21:11:51 -04:00
|
|
|
homepage = "https://github.com/sods/paramz";
|
2017-08-11 12:33:53 -04:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ bcdarwin ];
|
|
|
|
};
|
|
|
|
}
|