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