depot/third_party/nixpkgs/pkgs/development/python-modules/patsy/default.nix
Default email ce641f4048 Project import generated by Copybara.
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
2021-12-06 17:07:01 +01:00

40 lines
727 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.2";
src = fetchPypi {
inherit pname version;
sha256 = "5053de7804676aba62783dbb0f23a2b3d74e35e5bfa238b88b7cbf148a38b69d";
};
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 ];
};
}