1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pyserial
5, pytestCheckHook
6}:
7
8buildPythonPackage rec {
9 pname = "pyrfxtrx";
10 version = "0.27.0";
11
12 src = fetchFromGitHub {
13 owner = "Danielhiversen";
14 repo = "pyRFXtrx";
15 rev = version;
16 sha256 = "0nzgy56b2v3bnn9idlb67qkzj4cj5j9v1436ri1y305fqwjy48nm";
17 };
18
19 propagatedBuildInputs = [
20 pyserial
21 ];
22
23 checkInputs = [
24 pytestCheckHook
25 ];
26
27 meta = with lib; {
28 description = "Library to communicate with the RFXtrx family of devices";
29 homepage = "https://github.com/Danielhiversen/pyRFXtrx";
30 license = licenses.lgpl3Plus;
31 maintainers = with maintainers; [ dotlambda ];
32 };
33}