python312Packages.fnllm: 0.0.11 -> 0.0.12 (#364582)
[NixPkgs.git] / pkgs / development / python-modules / rki-covid-parser / default.nix
blobf7e91699b9b262ea76d2233a4208e39ba90aac0d
2   lib,
3   aiohttp,
4   aioresponses,
5   buildPythonPackage,
6   fetchFromGitHub,
7   pytest-aiohttp,
8   pytestCheckHook,
9   pythonOlder,
10   setuptools,
13 buildPythonPackage rec {
14   pname = "rki-covid-parser";
15   version = "1.3.3";
16   pyproject = true;
18   disabled = pythonOlder "3.6";
20   src = fetchFromGitHub {
21     owner = "thebino";
22     repo = "rki-covid-parser";
23     rev = "refs/tags/v${version}";
24     hash = "sha256-e0MJjE4zgBPL+vt9EkgsdGrgqUyKK/1S9ZFxy56PUjc=";
25   };
27   nativeBuildInputs = [ setuptools ];
29   propagatedBuildInputs = [ aiohttp ];
31   nativeCheckInputs = [
32     aioresponses
33     pytest-aiohttp
34     pytestCheckHook
35   ];
37   disabledTestPaths = [
38     # Tests require netowrk access
39     "tests/test_districts.py"
40     "tests/test_endpoint_availibility.py"
41   ];
43   pythonImportsCheck = [ "rki_covid_parser" ];
45   meta = with lib; {
46     description = "Python module for working with data from the Robert-Koch Institut";
47     homepage = "https://github.com/thebino/rki-covid-parser";
48     changelog = "https://github.com/thebino/rki-covid-parser/blob/v${version}/CHANGELOG.md";
49     license = with licenses; [ asl20 ];
50     maintainers = with maintainers; [ fab ];
51   };