mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
python310Packages.python-homewizard-energy: init at 1.0.3
This commit is contained in:
parent
a78bc4244e
commit
de459b2bf2
@ -0,0 +1,51 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, aresponses
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, protobuf
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-homewizard-energy";
|
||||
version = "1.0.3";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "DCSBL";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-ioISqRFZZCojTJ/KYS8QUtoEpBNOPqY9lC9NFbZyh5A=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
aresponses
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"homewizard_energy"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library to communicate with HomeWizard Energy devices";
|
||||
homepage = "https://github.com/DCSBL/python-homewizard-energy";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -8439,6 +8439,8 @@ in {
|
||||
|
||||
python-hglib = callPackage ../development/python-modules/python-hglib { };
|
||||
|
||||
python-homewizard-energy = callPackage ../development/python-modules/python-homewizard-energy { };
|
||||
|
||||
python-hosts = callPackage ../development/python-modules/python-hosts { };
|
||||
|
||||
python-hpilo = callPackage ../development/python-modules/python-hpilo { };
|
||||
|
Loading…
Reference in New Issue
Block a user