at master 807 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pyserial, 6 pytestCheckHook, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "pyrfxtrx"; 12 version = "0.32.0"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "Danielhiversen"; 17 repo = "pyRFXtrx"; 18 tag = version; 19 hash = "sha256-6gD6ch7DyaD9nCY/VfyJHmV4gEDPsDfVKjNaNedmVVE="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 dependencies = [ pyserial ]; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 meta = with lib; { 29 description = "Library to communicate with the RFXtrx family of devices"; 30 homepage = "https://github.com/Danielhiversen/pyRFXtrx"; 31 changelog = "https://github.com/Danielhiversen/pyRFXtrx/releases/tag/${src.tag}"; 32 license = licenses.lgpl3Plus; 33 maintainers = with maintainers; [ dotlambda ]; 34 }; 35}