Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384{ lib, buildPythonPackage, fetchFromGitHub, pyprojectVersionPatchHook,
# build-system flit-core,
# optional-dependencies platformdirs, requests, requests-cache, sphinx, mypy, pytest, pytest-xdist, types-requests,
# tests pytestCheckHook,}:
buildPythonPackage (finalAttrs: { pname = "intersphinx-registry"; version = "0.2705.27"; pyproject = true; __structuredAttrs = true;
src = fetchFromGitHub { owner = "Quansight-labs"; repo = "intersphinx_registry"; tag = finalAttrs.version; hash = "sha256-yFpk3NZO2iCjuJ43WvssbDYxNJ6G6KfY5pcTCilsGQs="; };
nativeBuildInputs = [ pyprojectVersionPatchHook ];
build-system = [ flit-core ];
dependencies = finalAttrs.passthru.optional-dependencies.lookup;
optional-dependencies = { lookup = [ platformdirs requests requests-cache sphinx ]; tests = [ mypy pytest pytest-xdist types-requests ]; };
nativeCheckInputs = [ mypy pytestCheckHook ] ++ finalAttrs.passthru.optional-dependencies.tests;
# TODO: lots of failing tests doCheck = false;
pythonImportsCheck = [ "intersphinx_registry" ];
meta = { description = "Utility package that provides a default intersphinx mapping"; homepage = "https://github.com/Quansight-labs/intersphinx_registry"; mainProgram = "intersphinx-registry"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ eljamm ]; teams = with lib.teams; [ ngi ]; };})