python3Packages.pyecowitt: init at 0.21

This commit is contained in:
Fabian Affolter 2021-12-03 18:19:17 +01:00
parent 54060c0a1f
commit 84d9b84360
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,39 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyecowitt";
version = "0.21";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "garbled1";
repo = pname;
rev = version;
sha256 = "5VdVo6j2HZXSCWU4NvfWzyS/KJfVb7N1KSMeu8TvWaQ=";
};
propagatedBuildInputs = [
aiohttp
];
# Project thas no tests
doCheck = false;
pythonImportsCheck = [
"pyecowitt"
];
meta = with lib; {
description = "Python module for the EcoWitt Protocol";
homepage = "https://github.com/garbled1/pyecowitt";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -6442,6 +6442,8 @@ in {
pyeconet = callPackage ../development/python-modules/pyeconet { };
pyecowitt = callPackage ../development/python-modules/pyecowitt { };
pyedimax = callPackage ../development/python-modules/pyedimax { };
pyee = callPackage ../development/python-modules/pyee { };