9 buildPythonPackage rec {
10 pname = "biothings-client";
14 src = fetchFromGitHub {
16 repo = "biothings_client.py";
18 hash = "sha256-rCpzBX2H+7R8ulnJgtVlBA45ASa4DaY5jQ1bO2+bAC8=";
21 build-system = [ setuptools ];
22 dependencies = [ requests ];
23 pythonImportsCheck = [ "biothings_client" ];
24 nativeCheckInputs = [ pytestCheckHook ];
27 # All other tests make network requests to exercise the API
28 "tests/gene.py::TestGeneClient::test_http"
29 "tests/test.py::TestBiothingsClient::test_generate_settings_from_url"
30 "tests/variant.py::TestVariantClient::test_format_hgvs"
34 changelog = "https://github.com/biothings/biothings_client.py/blob/v${version}/CHANGES.txt";
35 description = "Wrapper to access Biothings.api-based backend services";
36 homepage = "https://github.com/biothings/biothings_client.py";
37 license = lib.licenses.bsd3;
38 maintainers = with lib.maintainers; [ rayhem ];