at 22.05-pre 791 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pytestCheckHook 5, pyyaml 6}: 7 8buildPythonPackage rec { 9 pname = "pyvlx"; 10 version = "0.2.19"; 11 12 src = fetchFromGitHub { 13 owner = "Julius2342"; 14 repo = pname; 15 rev = version; 16 sha256 = "031gp3sjagvmgdhfpdqlawva425ja1n3bmxk6jyn4zx54szj9zwf"; 17 }; 18 19 propagatedBuildInputs = [ pyyaml ]; 20 21 checkInputs = [ pytestCheckHook ]; 22 23 pythonImportsCheck = [ "pyvlx" ]; 24 25 meta = with lib; { 26 description = "Python client to work with Velux units"; 27 longDescription = '' 28 PyVLX uses the Velux KLF 200 interface to control io-Homecontrol 29 devices, e.g. Velux Windows. 30 ''; 31 homepage = "https://github.com/Julius2342/pyvlx"; 32 license = with licenses; [ lgpl2Only ]; 33 maintainers = with maintainers; [ fab ]; 34 }; 35}