evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / pydrawise / default.nix
blob3161bb8aaaf84a08a28165ab8fe1f683cc61c504
2   lib,
3   aiohttp,
4   aioresponses,
5   apischema,
6   buildPythonPackage,
7   fetchFromGitHub,
8   freezegun,
9   gql,
10   graphql-core,
11   pytest-asyncio,
12   pytestCheckHook,
13   pythonOlder,
14   requests,
15   setuptools,
16   setuptools-scm,
19 buildPythonPackage rec {
20   pname = "pydrawise";
21   version = "2024.9.0";
22   pyproject = true;
24   disabled = pythonOlder "3.10";
26   src = fetchFromGitHub {
27     owner = "dknowles2";
28     repo = "pydrawise";
29     rev = "refs/tags/${version}";
30     hash = "sha256-8S1Ce4MW/iD8xRloUtKbUhFIN0+nconnklqxBy7xMm0=";
31   };
33   build-system = [
34     setuptools
35     setuptools-scm
36   ];
38   dependencies = [
39     aiohttp
40     apischema
41     gql
42     graphql-core
43     requests
44   ];
46   nativeCheckInputs = [
47     aioresponses
48     freezegun
49     pytest-asyncio
50     pytestCheckHook
51   ];
53   pythonImportsCheck = [ "pydrawise" ];
55   meta = with lib; {
56     description = "Library for interacting with Hydrawise sprinkler controllers through the GraphQL API";
57     homepage = "https://github.com/dknowles2/pydrawise";
58     changelog = "https://github.com/dknowles2/pydrawise/releases/tag/${version}";
59     license = licenses.asl20;
60     maintainers = with maintainers; [ fab ];
61   };