blob: f61d14a5d41885cdffa22339de5c63cffd375b71 (
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
38
39
40
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pyserial,
pyyaml,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "scsgate";
version = "0.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "flavio";
repo = "scsgate";
tag = version;
hash = "sha256-wVzXKOKljENAKppod+guqm+0XMPenLgOsZzMQVTBo+k=";
};
build-system = [ setuptools ];
dependencies = [
pyserial
pyyaml
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "scsgate" ];
meta = {
description = "Python module to interact with SCSGate";
homepage = "https://github.com/flavio/scsgate";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
}
|