Merge pull request #148474 from fabaff/pyecowitt

python3Packages.pyecowitt: init at 0.21
This commit is contained in:
Fabian Affolter 2021-12-08 09:54:04 +01:00 committed by GitHub
commit f4a15954d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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

@ -6472,6 +6472,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 { };