nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 31 lines 658 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pyserial, 6}: 7 8buildPythonPackage rec { 9 pname = "python-velbus"; 10 version = "2.1.14"; 11 format = "setuptools"; 12 13 src = fetchPypi { 14 inherit pname version; 15 hash = "sha256-3eDfXPMO167QI/umLBjlHTBV67XQ8QYkg4EzfrRTw6M="; 16 }; 17 18 propagatedBuildInputs = [ pyserial ]; 19 20 # Project has not tests 21 doCheck = false; 22 23 pythonImportsCheck = [ "velbus" ]; 24 25 meta = { 26 description = "Python library to control the Velbus home automation system"; 27 homepage = "https://github.com/thomasdelaet/python-velbus"; 28 license = with lib.licenses; [ mit ]; 29 maintainers = with lib.maintainers; [ fab ]; 30 }; 31}