nixpkgs/pkgs/development/python-modules/paramz/default.nix

27 lines
707 B
Nix
Raw Normal View History

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