blob: a1a7a581be66e7b3197c9241860cb0f6dce273c2 (
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
36
37
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
click,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "rctclient";
version = "0.0.4";
pyproject = true;
src = fetchFromGitHub {
owner = "svalouch";
repo = "python-rctclient";
tag = "v${version}";
hash = "sha256-QPla5h8wSM9Ynj44Uwc1a2yAnu8TXbyBWzVHQeW6jnI=";
};
build-system = [ setuptools ];
optional-dependencies.cli = [ click ];
pythonImportsCheck = [ "rctclient" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Python implementation of the RCT Power GmbH Serial Communication Protocol";
homepage = "https://github.com/svalouch/python-rctclient";
changelog = "https://github.com/svalouch/python-rctclient/releases/tag/${src.tag}";
license = with lib.licenses; [ gpl3Only ];
maintainers = with lib.maintainers; [ _9R ];
};
}
|