14 buildPythonPackage rec {
19 disabled = pythonOlder "3.7";
21 src = fetchFromGitHub {
24 rev = "refs/tags/v${version}";
25 hash = "sha256-SWmx70G5mm3eUmH2UIEmg5C7u9VDHiFw5aYCIr8UjPs=";
28 build-system = [ setuptools ];
37 nativeCheckInputs = [ pytestCheckHook ];
40 substituteInPlace paramz/tests/parameterized_tests.py \
41 --replace-fail "assertRaisesRegexp" "assertRaisesRegex"
45 "paramz/tests/array_core_tests.py"
46 "paramz/tests/cacher_tests.py"
47 "paramz/tests/examples_tests.py"
48 "paramz/tests/index_operations_tests.py"
49 "paramz/tests/init_tests.py"
50 "paramz/tests/lists_and_dicts_tests.py"
51 "paramz/tests/model_tests.py"
52 "paramz/tests/observable_tests.py"
53 "paramz/tests/parameterized_tests.py"
54 "paramz/tests/pickle_tests.py"
55 "paramz/tests/verbose_optimize_tests.py"
59 # TypeError: arrays to stack must be passed as a "sequence" type such as list...
61 "test_regular_expression_misc"
64 pythonImportsCheck = [ "paramz" ];
67 description = "Parameterization framework for parameterized model creation and handling";
68 homepage = "https://github.com/sods/paramz";
69 changelog = "https://github.com/sods/paramz/releases/tag/v${version}";
70 license = licenses.bsd3;
71 maintainers = with maintainers; [ bcdarwin ];