emacsPackages.lsp-bridge: 0-unstable-2025-01-11 -> 0-unstable-2025-01-22 (#376531)
[NixPkgs.git] / pkgs / development / python-modules / pyatmo / default.nix
blob849ce582b80594f7f90994705a653ebb17d9d1c0
2   lib,
3   aiohttp,
4   buildPythonPackage,
5   fetchFromGitHub,
6   oauthlib,
7   pytest-asyncio,
8   pytest-mock,
9   pytestCheckHook,
10   pythonOlder,
11   requests,
12   requests-oauthlib,
13   requests-mock,
14   setuptools-scm,
15   time-machine,
18 buildPythonPackage rec {
19   pname = "pyatmo";
20   version = "8.1.0";
21   pyproject = true;
23   disabled = pythonOlder "3.10";
25   src = fetchFromGitHub {
26     owner = "jabesq";
27     repo = "pyatmo";
28     tag = "v${version}";
29     hash = "sha256-SRuBV7XWt4Myks7kbUzGAscggspUbRoLOvYNiorF8To=";
30   };
32   pythonRelaxDeps = [
33     "oauthlib"
34     "requests-oauthlib"
35     "requests"
36   ];
38   build-system = [ setuptools-scm ];
40   dependencies = [
41     aiohttp
42     oauthlib
43     requests
44     requests-oauthlib
45   ];
47   nativeCheckInputs = [
48     pytest-asyncio
49     pytest-mock
50     pytestCheckHook
51     requests-mock
52     time-machine
53   ];
55   pythonImportsCheck = [ "pyatmo" ];
57   meta = with lib; {
58     description = "Simple API to access Netatmo weather station data";
59     homepage = "https://github.com/jabesq/pyatmo";
60     changelog = "https://github.com/jabesq/pyatmo/blob/v${version}/CHANGELOG.md";
61     license = licenses.mit;
62     maintainers = [ ];
63   };