c594a97518
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
40 lines
714 B
Nix
40 lines
714 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, six
|
|
, numpy
|
|
, scipy # optional, allows spline-related features (see patsy's docs)
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "patsy";
|
|
version = "0.5.3";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-vcGAAYdeMZvJHIEsHrahC+S7E8uB63Y/RmF53KO2cnc=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
six
|
|
numpy
|
|
scipy
|
|
];
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"patsy"
|
|
];
|
|
|
|
meta = {
|
|
description = "A Python package for describing statistical models";
|
|
homepage = "https://github.com/pydata/patsy";
|
|
license = lib.licenses.bsd2;
|
|
maintainers = with lib.maintainers; [ ilya-kolpakov ];
|
|
};
|
|
}
|
|
|