My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/patsy/default.nix

40 lines
727 B

{ 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 ];
};
}