2018-04-28 20:02:49 +01:00
|
|
|
{ lib
|
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
|
|
|
, nose
|
|
|
|
, six
|
|
|
|
, numpy
|
|
|
|
, scipy # optional, allows spline-related features (see patsy's docs)
|
|
|
|
, parameterized
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "patsy";
|
2018-11-09 02:08:29 +00:00
|
|
|
version = "0.5.1";
|
2018-04-28 20:02:49 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-09 02:08:29 +00:00
|
|
|
sha256 = "149rbrdzwns0ay88caf1zsm1r53v1q5np1mrb36na50y432cw5gi";
|
2018-04-28 20:02:49 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ nose parameterized ];
|
|
|
|
checkPhase = "nosetests -v";
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
six
|
|
|
|
numpy
|
|
|
|
scipy
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A Python package for describing statistical models";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/pydata/patsy";
|
2018-04-28 20:02:49 +01:00
|
|
|
license = lib.licenses.bsd2;
|
|
|
|
maintainers = with lib.maintainers; [ ilya-kolpakov ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|