python3Packages.velbus-aio: init at 2021.9.1

This commit is contained in:
Fabian Affolter 2021-09-15 21:05:01 +02:00 committed by Jonathan Ringer
parent 1dc318d1e8
commit cfcacac4a9
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,38 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pyserial-asyncio
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "velbus-aio";
version = "2021.9.1";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "Cereal2nd";
repo = pname;
rev = version;
sha256 = "0q7jrjljp65lrazv2yjsiw69240vmhcss3dqrgxhq79dpyck6zfl";
};
propagatedBuildInputs = [
pyserial-asyncio
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ " velbusaio" ];
meta = with lib; {
description = "Python library to support the Velbus home automation system";
homepage = "https://github.com/Cereal2nd/velbus-aio";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -9325,6 +9325,8 @@ in {
venusian = callPackage ../development/python-modules/venusian { };
velbus-aio = callPackage ../development/python-modules/velbus-aio { };
verboselogs = callPackage ../development/python-modules/verboselogs { };
versioneer = callPackage ../development/python-modules/versioneer { };