depot/third_party/nixpkgs/pkgs/development/python-modules/patsy/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

41 lines
743 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";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-vcGAAYdeMZvJHIEsHrahC+S7E8uB63Y/RmF53KO2cnc=";
};
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 ];
};
}