python3Packages.aioswitcher: init at 1.2.2
This commit is contained in:
parent
03a818a6f8
commit
6b14b6cfa8
45
pkgs/development/python-modules/aioswitcher/default.nix
Normal file
45
pkgs/development/python-modules/aioswitcher/default.nix
Normal file
@ -0,0 +1,45 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, asynctest
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, poetry
|
||||
, pytest-aiohttp
|
||||
, pytest-asyncio
|
||||
, pytest-sugar
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioswitcher";
|
||||
version = "1.2.2";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "TomerFi";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0wvca1jbyj4bwrpkpklbxnkvdp9zs7mrvg5b9vkx2hpyr81vyxam";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry ];
|
||||
|
||||
propagatedBuildInputs = [ aiohttp ];
|
||||
|
||||
checkInputs = [
|
||||
asynctest
|
||||
pytest-aiohttp
|
||||
pytest-asyncio
|
||||
pytest-sugar
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "aioswitcher" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module to interact with Switcher water heater";
|
||||
homepage = "https://github.com/TomerFi/aioswitcher";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -272,6 +272,8 @@ in {
|
||||
|
||||
aiostream = callPackage ../development/python-modules/aiostream { };
|
||||
|
||||
aioswitcher = callPackage ../development/python-modules/aioswitcher { };
|
||||
|
||||
aiounifi = callPackage ../development/python-modules/aiounifi { };
|
||||
|
||||
aiounittest = callPackage ../development/python-modules/aiounittest { };
|
||||
|
Loading…
Reference in New Issue
Block a user