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