1{ lib, buildPythonPackage, fetchPypi, numpy, scipy, six, decorator, nose }:
2
3buildPythonPackage rec {
4 pname = "paramz";
5 version = "0.9.5";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "0917211c0f083f344e7f1bc997e0d713dbc147b6380bc19f606119394f820b9a";
10 };
11
12 propagatedBuildInputs = [ numpy scipy six decorator ];
13 checkInputs = [ nose ];
14
15 # Ran 113 tests in 3.082s
16 checkPhase = ''
17 nosetests -v paramz/tests
18 '';
19
20 meta = with lib; {
21 description = "Parameterization framework for parameterized model creation and handling";
22 homepage = "https://github.com/sods/paramz";
23 license = licenses.bsd3;
24 maintainers = with maintainers; [ bcdarwin ];
25 };
26}