Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.4 kB · 68 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869{ lib, buildPythonPackage, fetchPypi,
# build-system setuptools,
# dependencies jinja2, sphinx, tabulate,
# tests matplotlib, pytest-cov-stub, pytestCheckHook,}:
buildPythonPackage rec { pname = "numpydoc"; version = "1.9.0"; pyproject = true;
src = fetchPypi { inherit pname; inherit version; hash = "sha256-X+xkkI/gQazEs6/CoyxJqrFUDPWBh29VY9aLsSnifFs="; };
build-system = [ setuptools ];
dependencies = [ jinja2 sphinx tabulate ];
nativeCheckInputs = [ matplotlib pytest-cov-stub pytestCheckHook ];
disabledTests = [ # https://github.com/numpy/numpydoc/issues/373 "test_MyClass" "test_my_function"
# AttributeError: 'MockApp' object has no attribute '_exception_on_warning' "test_mangle_docstring_validation_exclude" "test_mangle_docstring_validation_warnings" "test_mangle_docstrings_overrides" # AttributeError: 'MockBuilder' object has no attribute '_translator' "test_mangle_docstrings_basic" "test_mangle_docstrings_inherited_class_members" ];
pythonImportsCheck = [ "numpydoc" ];
meta = { changelog = "https://github.com/numpy/numpydoc/releases/tag/v${version}"; description = "Sphinx extension to support docstrings in Numpy format"; mainProgram = "validate-docstrings"; homepage = "https://github.com/numpy/numpydoc"; license = lib.licenses.free; };}