portfolio: 0.71.2 -> 0.72.2 (#360387)
[NixPkgs.git] / pkgs / development / python-modules / meteoswiss-async / default.nix
blob482340b0ed783207caee50c09173a62f1e811b46
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   pythonRelaxDeps = [
30     "aiohttp"
31     "asyncstdlib"
32   ];
34   build-system = [ setuptools ];
36   dependencies = [
37     aiohttp
38     asyncstdlib
39     dataclasses-json
40   ];
42   nativeCheckInputs = [
43     pytestCheckHook
44     pytest-mock
45     pytest-cov-stub
46   ];
48   pythonImportsCheck = [ "meteoswiss_async" ];
50   meta = {
51     description = "Asynchronous client library for MeteoSwiss API";
52     homepage = "https://github.com/albertomontesg/meteoswiss-async";
53     changelog = "https://github.com/albertomontesg/meteoswiss-async/releases/tag/${version}";
54     license = lib.licenses.mit;
55     maintainers = with lib.maintainers; [ fab ];
56   };