Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / rki-covid-parser / default.nix
blob4a9263f389c2af5dc7fb1cc21e9d4fd5c0119298
1 { lib
2 , aiohttp
3 , aioresponses
4 , buildPythonPackage
5 , fetchFromGitHub
6 , pytest-aiohttp
7 , pytestCheckHook
8 , pythonOlder
9 , setuptools
12 buildPythonPackage rec {
13   pname = "rki-covid-parser";
14   version = "1.3.3";
15   pyproject = true;
17   disabled = pythonOlder "3.6";
19   src = fetchFromGitHub {
20     owner = "thebino";
21     repo = "rki-covid-parser";
22     rev = "refs/tags/v${version}";
23     hash = "sha256-e0MJjE4zgBPL+vt9EkgsdGrgqUyKK/1S9ZFxy56PUjc=";
24   };
26   nativeBuildInputs = [
27     setuptools
28   ];
30   propagatedBuildInputs = [
31     aiohttp
32   ];
34   nativeCheckInputs = [
35     aioresponses
36     pytest-aiohttp
37     pytestCheckHook
38   ];
40   disabledTestPaths = [
41     # Tests require netowrk access
42     "tests/test_districts.py"
43     "tests/test_endpoint_availibility.py"
44   ];
46   pythonImportsCheck = [
47     "rki_covid_parser"
48   ];
50   meta = with lib; {
51     description = "Python module for working with data from the Robert-Koch Institut";
52     homepage = "https://github.com/thebino/rki-covid-parser";
53     changelog = "https://github.com/thebino/rki-covid-parser/blob/v${version}/CHANGELOG.md";
54     license = with licenses; [ asl20 ];
55     maintainers = with maintainers; [ fab ];
56   };