1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5, packaging 6, pytest 7, pytestCheckHook 8, setuptools-scm 9}: 10 11buildPythonPackage rec { 12 pname = "pytest-doctestplus"; 13 version = "0.11.0"; 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "efcb24a366d3b033d343298c2a60eae418b06803c85373450f10306815c7c632"; 19 }; 20 21 nativeBuildInputs = [ 22 setuptools-scm 23 ]; 24 25 buildInputs = [ 26 pytest 27 ]; 28 29 propagatedBuildInputs = [ 30 packaging 31 ]; 32 33 checkInputs = [ 34 pytestCheckHook 35 ]; 36 37 disabledTests = [ 38 # ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...] 39 # __main__.py: error: unrecognized arguments: --remote-data 40 "test_remote_data_url" 41 "test_remote_data_float_cmp" 42 "test_remote_data_ignore_whitespace" 43 "test_remote_data_ellipsis" 44 "test_remote_data_requires" 45 "test_remote_data_ignore_warnings" 46 ]; 47 48 meta = with lib; { 49 description = "Pytest plugin with advanced doctest features"; 50 homepage = "https://astropy.org"; 51 license = licenses.bsd3; 52 maintainers = [ maintainers.costrouc ]; 53 }; 54}