blob: 218de257e548a5231151756216a57c7632862de4 (
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
43
44
45
46
47
48
49
50
|
{
buildPythonPackage,
faust-cchardet,
fetchFromGitHub,
httpx,
lib,
pytest-asyncio,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "pytouchline-extended";
version = "1.0.2";
pyproject = true;
src = fetchFromGitHub {
owner = "brondum";
repo = "pytouchline";
tag = version;
hash = "sha256-7F8VeLrMgo54LQWG4BzxL6EgvthssAjUO65HSkXd2sk=";
};
postPatch = ''
substituteInPlace setup.py \
--replace-fail '$GITHUB_REF_NAME' '${version}'
'';
build-system = [ setuptools ];
dependencies = [
faust-cchardet
httpx
];
pythonImportsCheck = [ "pytouchline_extended" ];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
meta = {
changelog = "https://github.com/brondum/pytouchline/releases/tag/${src.tag}";
description = "Roth Touchline interface library";
homepage = "https://github.com/brondum/pytouchline";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|