python3Packages.python-velbus: init 2.1.2

This commit is contained in:
Fabian Affolter 2021-02-19 15:34:10 +01:00
parent 8b166bcee0
commit 1765eb0add
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pyserial
}:
buildPythonPackage rec {
pname = "python-velbus";
version = "2.1.2";
src = fetchFromGitHub {
owner = "thomasdelaet";
repo = pname;
rev = "v${version}";
sha256 = "0dv7dsjp5li87ispdphaz7jd0a9xc328rxwawf2f58b1ii904xr4";
};
propagatedBuildInputs = [ pyserial ];
# Project has not tests
doCheck = false;
pythonImportsCheck = [ "velbus" ];
meta = with lib; {
description = "Python library to control the Velbus home automation system";
homepage = "https://github.com/thomasdelaet/python-velbus";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -6493,6 +6493,8 @@ in {
python-vagrant = callPackage ../development/python-modules/python-vagrant { }; python-vagrant = callPackage ../development/python-modules/python-vagrant { };
python-velbus = callPackage ../development/python-modules/python-velbus { };
python-vipaccess = callPackage ../development/python-modules/python-vipaccess { }; python-vipaccess = callPackage ../development/python-modules/python-vipaccess { };
python-vlc = callPackage ../development/python-modules/python-vlc { }; python-vlc = callPackage ../development/python-modules/python-vlc { };