Loading pkgs/development/python-modules/numpydoc/default.nix +16 −13 Original line number Diff line number Diff line Loading @@ -2,13 +2,19 @@ lib, buildPythonPackage, fetchPypi, isPy27, # build-system setuptools, # dependencies jinja2, sphinx, tabulate, pytestCheckHook, # tests matplotlib, pytest-cov-stub, pytestCheckHook, }: buildPythonPackage rec { Loading @@ -16,23 +22,15 @@ buildPythonPackage rec { version = "1.8.0"; pyproject = true; disabled = isPy27; src = fetchPypi { inherit pname; inherit version; hash = "sha256-AiOQq3RkpE+HN/efizHOHTz6S0r3nMqhqsXoNo21h/s="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace "--cov-report=" "" \ --replace "--cov=numpydoc" "" ''; build-system = [ setuptools ]; nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ dependencies = [ jinja2 sphinx tabulate Loading @@ -40,6 +38,7 @@ buildPythonPackage rec { nativeCheckInputs = [ matplotlib pytest-cov-stub pytestCheckHook ]; Loading @@ -47,7 +46,11 @@ buildPythonPackage rec { # https://github.com/numpy/numpydoc/issues/373 "test_MyClass" "test_my_function" "test_reference" # AttributeError: 'MockApp' object has no attribute '_exception_on_warning' "test_mangle_docstring_validation_exclude" "test_mangle_docstring_validation_warnings" "test_mangle_docstrings_overrides" ]; pythonImportsCheck = [ "numpydoc" ]; Loading Loading
pkgs/development/python-modules/numpydoc/default.nix +16 −13 Original line number Diff line number Diff line Loading @@ -2,13 +2,19 @@ lib, buildPythonPackage, fetchPypi, isPy27, # build-system setuptools, # dependencies jinja2, sphinx, tabulate, pytestCheckHook, # tests matplotlib, pytest-cov-stub, pytestCheckHook, }: buildPythonPackage rec { Loading @@ -16,23 +22,15 @@ buildPythonPackage rec { version = "1.8.0"; pyproject = true; disabled = isPy27; src = fetchPypi { inherit pname; inherit version; hash = "sha256-AiOQq3RkpE+HN/efizHOHTz6S0r3nMqhqsXoNo21h/s="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace "--cov-report=" "" \ --replace "--cov=numpydoc" "" ''; build-system = [ setuptools ]; nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ dependencies = [ jinja2 sphinx tabulate Loading @@ -40,6 +38,7 @@ buildPythonPackage rec { nativeCheckInputs = [ matplotlib pytest-cov-stub pytestCheckHook ]; Loading @@ -47,7 +46,11 @@ buildPythonPackage rec { # https://github.com/numpy/numpydoc/issues/373 "test_MyClass" "test_my_function" "test_reference" # AttributeError: 'MockApp' object has no attribute '_exception_on_warning' "test_mangle_docstring_validation_exclude" "test_mangle_docstring_validation_warnings" "test_mangle_docstrings_overrides" ]; pythonImportsCheck = [ "numpydoc" ]; Loading