evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / fhir-py / default.nix
blobd847ee08e9ed885b1db03c31a20a81963b4a16bd
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
6   flit-core,
7   aiohttp,
8   pytz,
9   requests,
10   pytestCheckHook,
11   pytest-asyncio,
12   pytest-cov-stub,
13   pydantic,
14   responses,
17 buildPythonPackage rec {
18   pname = "fhir-py";
19   version = "2.0.11";
20   pyproject = true;
22   disabled = pythonOlder "3.8";
24   src = fetchFromGitHub {
25     owner = "beda-software";
26     repo = "fhir-py";
27     rev = "refs/tags/v${version}";
28     hash = "sha256-ts4BT/YVfejyemEy8B9aAJuA9h1a5F/SoIAkDVem7mQ=";
29   };
31   build-system = [ flit-core ];
33   dependencies = [
34     aiohttp
35     pytz
36     requests
37   ];
39   nativeCheckInputs = [
40     pytestCheckHook
41     pytest-asyncio
42     pytest-cov-stub
43     pydantic
44     responses
45   ];
47   # sync/async test cases require docker-compose to set up services, so disable:
48   disabledTestPaths = [ "tests/test_lib_sync.py" ];
49   disabledTests = [ "TestLibAsyncCase" ];
51   pythonImportsCheck = [ "fhirpy" ];
53   meta = with lib; {
54     description = "Async/sync API for FHIR resources";
55     homepage = "https://github.com/beda-software/fhir-py";
56     changelog = "https://github.com/beda-software/fhir-py/blob/${src.rev}/CHANGELOG.md";
57     license = licenses.mit;
58     maintainers = with maintainers; [ bcdarwin ];
59   };