1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00

python3Package.patsy: migrate to pytest

This commit is contained in:
Martin Weinelt 2021-10-10 20:01:23 +02:00
parent e11e503865
commit 44ff862bbd

View file

@ -1,11 +1,10 @@
{ lib
, fetchPypi
, buildPythonPackage
, nose
, six
, numpy
, scipy # optional, allows spline-related features (see patsy's docs)
, parameterized
, pytestCheckHook
}:
buildPythonPackage rec {
@ -17,15 +16,20 @@ buildPythonPackage rec {
sha256 = "5053de7804676aba62783dbb0f23a2b3d74e35e5bfa238b88b7cbf148a38b69d";
};
checkInputs = [ nose parameterized ];
checkPhase = "nosetests -v";
propagatedBuildInputs = [
six
numpy
scipy
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"patsy"
];
meta = {
description = "A Python package for describing statistical models";
homepage = "https://github.com/pydata/patsy";