2019-07-15 17:16:42 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2020-06-21 00:09:14 +02:00
|
|
|
, isPy27
|
2019-07-15 17:16:42 +02:00
|
|
|
, six
|
|
|
|
, pytest
|
2021-04-27 15:58:23 +02:00
|
|
|
, pytestCheckHook
|
2019-07-15 17:16:42 +02:00
|
|
|
, numpy
|
2021-06-03 12:09:11 +02:00
|
|
|
, setuptools-scm
|
2019-07-15 17:16:42 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-doctestplus";
|
2021-03-24 10:28:24 +01:00
|
|
|
version = "0.9.0";
|
2020-06-21 00:09:14 +02:00
|
|
|
disabled = isPy27; # abandoned upstream
|
2019-07-15 17:16:42 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-24 10:28:24 +01:00
|
|
|
sha256 = "6fe747418461d7b202824a3486ba8f4fa17a9bd0b1eddc743ba1d6d87f03391a";
|
2019-07-15 17:16:42 +02:00
|
|
|
};
|
|
|
|
|
2021-04-27 15:58:23 +02:00
|
|
|
nativeBuildInputs = [
|
2021-06-03 12:09:11 +02:00
|
|
|
setuptools-scm
|
2021-04-27 15:58:23 +02:00
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
pytest
|
|
|
|
];
|
2021-03-12 23:20:19 +01:00
|
|
|
|
2019-07-15 17:16:42 +02:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
six
|
|
|
|
numpy
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
2021-04-27 15:58:23 +02:00
|
|
|
pytestCheckHook
|
2019-07-15 17:16:42 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Pytest plugin with advanced doctest features";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://astropy.org";
|
2019-07-15 17:16:42 +02:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|