depot/third_party/nixpkgs/pkgs/development/python-modules/patsy/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

40 lines
787 B
Nix

{
lib,
fetchPypi,
buildPythonPackage,
setuptools,
six,
numpy,
scipy, # optional, allows spline-related features (see patsy's docs)
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "patsy";
version = "0.5.6";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-lcbUenIiU1+Ev/f2PXMD8uKXdHpZjbic9cZ/DAx9LNs=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
six
numpy
scipy
];
nativeCheckInputs = [ 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 ];
};
}