Something went wrong. Try again.
lol
Something went wrong. Try again.
1.2 kB · 57 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758{ lib, buildPythonPackage, fetchFromGitHub, flit-core, aiohttp, pytz, requests, pytestCheckHook, pytest-asyncio, pytest-cov-stub, pydantic, responses,}:
buildPythonPackage rec { pname = "fhir-py"; version = "2.2.0"; pyproject = true;
src = fetchFromGitHub { owner = "beda-software"; repo = "fhir-py"; tag = "v${version}"; hash = "sha256-C6ttVEYsnOzA4PFtq0wHfXrGSvpXOj0/oTuVDtx19qc="; };
build-system = [ flit-core ];
dependencies = [ aiohttp pytz requests ];
nativeCheckInputs = [ pytestCheckHook pytest-asyncio pytest-cov-stub pydantic responses ];
# sync/async test cases require docker-compose to set up services, so disable: disabledTestPaths = [ "tests/test_lib_sync.py" ]; disabledTests = [ "TestLibAsyncCase" ];
pythonImportsCheck = [ "fhirpy" ];
meta = { description = "Async/sync API for FHIR resources"; homepage = "https://github.com/beda-software/fhir-py"; changelog = "https://github.com/beda-software/fhir-py/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ bcdarwin ]; };}