biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / meteoswiss-async / default.nix
blobb837f49c08c65b17439264edbd04bca41c67280c
2   lib,
3   aiohttp,
4   asyncstdlib,
5   buildPythonPackage,
6   dataclasses-json,
7   fetchFromGitHub,
8   pytest-cov-stub,
9   pytest-mock,
10   pytestCheckHook,
11   pythonOlder,
12   setuptools,
15 buildPythonPackage rec {
16   pname = "meteoswiss-async";
17   version = "0.1.1";
18   pyproject = true;
20   disabled = pythonOlder "3.11";
22   src = fetchFromGitHub {
23     owner = "albertomontesg";
24     repo = "meteoswiss-async";
25     rev = "refs/tags/${version}";
26     hash = "sha256-xFvfyLZvBfnbzShKN+94piNUVjV1cfi4jWpc/Xw6XG4=";
27   };
29   build-system = [ setuptools ];
31   dependencies = [
32     aiohttp
33     asyncstdlib
34     dataclasses-json
35   ];
37   nativeCheckInputs = [
38     pytestCheckHook
39     pytest-mock
40     pytest-cov-stub
41   ];
43   pythonImportsCheck = [ "meteoswiss_async" ];
45   meta = {
46     description = "Asynchronous client library for MeteoSwiss API";
47     homepage = "https://github.com/albertomontesg/meteoswiss-async";
48     changelog = "https://github.com/albertomontesg/meteoswiss-async/releases/tag/${version}";
49     license = lib.licenses.mit;
50     maintainers = with lib.maintainers; [ fab ];
51   };