biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / aiosomecomfort / default.nix
blob6161fd0166de5519644f104658f8d739f5062c35
2   lib,
3   aiohttp,
4   buildPythonPackage,
5   fetchFromGitHub,
6   prettytable,
7   pythonOlder,
8   setuptools,
9 }:
11 buildPythonPackage rec {
12   pname = "aiosomecomfort";
13   version = "0.0.25";
14   pyproject = true;
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "mkmer";
20     repo = "AIOSomecomfort";
21     rev = "refs/tags/${version}";
22     hash = "sha256-EmglZW9gzgswxoEtDT+evjn8N+3aPooYFudwAXP8XEE=";
23   };
25   nativeBuildInputs = [ setuptools ];
27   propagatedBuildInputs = [
28     aiohttp
29     prettytable
30   ];
32   pythonImportsCheck = [ "aiosomecomfort" ];
34   # Tests only run on Windows, due to WindowsSelectorEventLoopPolicy
35   doCheck = false;
37   meta = {
38     description = "AsyicIO client for US models of Honeywell Thermostats";
39     homepage = "https://github.com/mkmer/AIOSomecomfort";
40     changelog = "https://github.com/mkmer/AIOSomecomfort/releases/tag/${version}";
41     license = lib.licenses.gpl3Only;
42     maintainers = with lib.maintainers; [ dotlambda ];
43   };