python3Packages.pyvlx: init at 0.2.19

This commit is contained in:
Fabian Affolter 2021-01-14 21:31:32 +01:00 committed by Jonathan Ringer
parent e4ddf1ef3a
commit 728de3979f
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pyyaml
}:
buildPythonPackage rec {
pname = "pyvlx";
version = "0.2.19";
src = fetchFromGitHub {
owner = "Julius2342";
repo = pname;
rev = version;
sha256 = "031gp3sjagvmgdhfpdqlawva425ja1n3bmxk6jyn4zx54szj9zwf";
};
propagatedBuildInputs = [ pyyaml ];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pyvlx" ];
meta = with lib; {
description = "Python client to work with Velux units";
longDescription = ''
PyVLX uses the Velux KLF 200 interface to control io-Homecontrol
devices, e.g. Velux Windows.
'';
homepage = "https://github.com/Julius2342/pyvlx";
license = with licenses; [ lgpl2Only ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -6382,6 +6382,8 @@ in {
inherit (pkgs) pkg-config vips glib;
};
pyvlx = callPackage ../development/python-modules/pyvlx { };
pyvmomi = callPackage ../development/python-modules/pyvmomi { };
pyvoro = callPackage ../development/python-modules/pyvoro { };