Something went wrong. Try again.
lol
Something went wrong. Try again.
1.4 kB · 53 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354{ lib, buildPythonPackage, fetchFromGitHub, setuptools, httpx, pytestCheckHook, pytest-asyncio,}:
buildPythonPackage (finalAttrs: { pname = "biothings-client"; version = "0.5.0"; pyproject = true;
src = fetchFromGitHub { owner = "biothings"; repo = "biothings_client.py"; tag = "v${finalAttrs.version}"; hash = "sha256-SG664xpajbLLTRfqanqYJhKdZqAOXPTDNBcfCAdlZ5M="; };
build-system = [ setuptools ];
dependencies = [ httpx ];
pythonImportsCheck = [ "biothings_client" ];
nativeCheckInputs = [ pytestCheckHook pytest-asyncio ];
enabledTestPaths = [ # All other tests make network requests to exercise the API "tests/test_async.py::test_generate_async_settings" "tests/test_async.py::test_url_protocol" "tests/test_async.py::test_async_client_proxy_discovery" "tests/test_async_variant.py::test_format_hgvs" "tests/test_sync.py::test_generate_settings" "tests/test_sync.py::test_url_protocol" "tests/test_sync.py::test_client_proxy_discovery" "tests/test_variant.py::test_format_hgvs" ];
meta = { changelog = "https://github.com/biothings/biothings_client.py/blob/${finalAttrs.src.tag}/CHANGES.txt"; description = "Wrapper to access Biothings.api-based backend services"; homepage = "https://github.com/biothings/biothings_client.py"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ rayhem ]; };})