Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 62 lines
Nix
at gcc-offload
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263{ lib, buildPythonPackage, fetchPypi, isPy27, setuptools, jinja2, sphinx, tabulate, pytestCheckHook, matplotlib,}:
buildPythonPackage rec { pname = "numpydoc"; 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" "" '';
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ jinja2 sphinx tabulate ];
nativeCheckInputs = [ matplotlib pytestCheckHook ];
disabledTests = [ # https://github.com/numpy/numpydoc/issues/373 "test_MyClass" "test_my_function" "test_reference" ];
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; };}