blob: e6d7d4650fd01437c9ba78f6fe8324279ff9867c (
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
41
42
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
click,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "satel-integra";
version = "0.3.7";
pyproject = true;
src = fetchFromGitHub {
owner = "c-soft";
repo = "satel_integra";
tag = version;
hash = "sha256-nCFb8NaZQ6TO4aXCSpbbHGkJr3nJVkt1R4hi9mts070=";
};
postPatch = ''
substituteInPlace setup.py \
--replace "'pytest-runner'," ""
'';
build-system = [ setuptools ];
dependencies = [ click ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "satel_integra" ];
meta = {
description = "Communication library and basic testing tool for Satel Integra alarm system";
homepage = "https://github.com/c-soft/satel_integra";
changelog = "https://github.com/c-soft/satel_integra/releases/tag/${version}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
}
|