python310Packages.aiosomecomfort: init at 0.0.3
This commit is contained in:
parent
e86685b9a8
commit
c459b2df12
47
pkgs/development/python-modules/aiosomecomfort/default.nix
Normal file
47
pkgs/development/python-modules/aiosomecomfort/default.nix
Normal file
@ -0,0 +1,47 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, aiohttp
|
||||
, prettytable
|
||||
, mock
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiosomecomfort";
|
||||
version = "0.0.3";
|
||||
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mkmer";
|
||||
repo = "AIOSomecomfort";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-Qw0KR934GS7AuT3nRYaunypt091fZLRioVbNOp9JesY=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# https://github.com/mkmer/AIOSomecomfort/issues/1
|
||||
mv aiosomecomfort AIOSomecomfort
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
prettytable
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
mock
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
# SyntaxError in test.py
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "AsyicIO client for US models of Honeywell Thermostats";
|
||||
homepage = "https://github.com/mkmer/AIOSomecomfort";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
@ -334,6 +334,8 @@ self: super: with self; {
|
||||
|
||||
aiosmtplib = callPackage ../development/python-modules/aiosmtplib { };
|
||||
|
||||
aiosomecomfort = callPackage ../development/python-modules/aiosomecomfort { };
|
||||
|
||||
aiosqlite = callPackage ../development/python-modules/aiosqlite { };
|
||||
|
||||
aiosteamist = callPackage ../development/python-modules/aiosteamist { };
|
||||
|
Loading…
Reference in New Issue
Block a user