Merge pull request #146629 from fabaff/aiohwenergy
python3Packages.aiohwenergy: init at 0.4.0
This commit is contained in:
commit
e1a5a8b496
2 changed files with 42 additions and 0 deletions
40
pkgs/development/python-modules/aiohwenergy/default.nix
Normal file
40
pkgs/development/python-modules/aiohwenergy/default.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiohwenergy";
|
||||
version = "0.4.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "DCSBL";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "Rs7kD+jN/z0j4KmkitquB+cm2UcYG87YHczZR0A4axI=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
];
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aiohwenergy"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library to interact with the HomeWizard Energy devices API";
|
||||
homepage = "https://github.com/DCSBL/aiohwenergy";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -317,6 +317,8 @@ in {
|
|||
|
||||
aiohue = callPackage ../development/python-modules/aiohue { };
|
||||
|
||||
aiohwenergy = callPackage ../development/python-modules/aiohwenergy { };
|
||||
|
||||
aioimaplib = callPackage ../development/python-modules/aioimaplib { };
|
||||
|
||||
aioinflux = callPackage ../development/python-modules/aioinflux { };
|
||||
|
|
Loading…
Reference in a new issue