python311Packages.aiosomecomfort: refactor

This commit is contained in:
Fabian Affolter 2023-11-21 09:14:40 +01:00
parent 0ebedb7044
commit 57b5c5c861

View file

@ -1,15 +1,16 @@
{ lib { lib
, aiohttp
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, aiohttp
, prettytable , prettytable
, pythonOlder , pythonOlder
, setuptools
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "aiosomecomfort"; pname = "aiosomecomfort";
version = "0.0.22"; version = "0.0.22";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -20,6 +21,10 @@ buildPythonPackage rec {
hash = "sha256-d4pyt9+sBPNo/PL05HQ4sjyjubMtTZI9WUGRU1B/dH0="; hash = "sha256-d4pyt9+sBPNo/PL05HQ4sjyjubMtTZI9WUGRU1B/dH0=";
}; };
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [ propagatedBuildInputs = [
aiohttp aiohttp
prettytable prettytable
@ -29,7 +34,8 @@ buildPythonPackage rec {
"aiosomecomfort" "aiosomecomfort"
]; ];
doCheck = false; # tests only run on windows, due to WindowsSelectorEventLoopPolicy # Tests only run on Windows, due to WindowsSelectorEventLoopPolicy
doCheck = false;
meta = { meta = {
description = "AsyicIO client for US models of Honeywell Thermostats"; description = "AsyicIO client for US models of Honeywell Thermostats";