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:
parent
e11e503865
commit
44ff862bbd
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue