croc: 10.1.1 -> 10.1.3 (#364662)
[NixPkgs.git] / pkgs / development / python-modules / gios / default.nix
blob952056492c7097dd516f56eb38da268ac75ec7a3
2   lib,
3   aiohttp,
4   aioresponses,
5   buildPythonPackage,
6   dacite,
7   fetchFromGitHub,
8   pytest-asyncio,
9   pytest-error-for-skips,
10   pytestCheckHook,
11   pythonOlder,
12   setuptools,
13   syrupy,
16 buildPythonPackage rec {
17   pname = "gios";
18   version = "5.0.0";
19   pyproject = true;
21   disabled = pythonOlder "3.11";
23   src = fetchFromGitHub {
24     owner = "bieniu";
25     repo = "gios";
26     rev = "refs/tags/${version}";
27     hash = "sha256-J+LCu7wMuc3dYghvkKq58GcBAa76X5IPUWe7qCQwjjI=";
28   };
30   build-system = [ setuptools ];
32   dependencies = [
33     aiohttp
34     dacite
35   ];
37   nativeCheckInputs = [
38     aioresponses
39     pytest-asyncio
40     pytest-error-for-skips
41     pytestCheckHook
42     syrupy
43   ];
45   disabledTests = [
46     # Test requires network access
47     "test_invalid_station_id"
48   ];
50   pythonImportsCheck = [ "gios" ];
52   meta = with lib; {
53     description = "Python client for getting air quality data from GIOS";
54     homepage = "https://github.com/bieniu/gios";
55     changelog = "https://github.com/bieniu/gios/releases/tag/${version}";
56     license = licenses.asl20;
57     maintainers = with maintainers; [ fab ];
58   };