blob: d1e878ab473e52aeb6f68014a451662fa39e2826 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pyserial,
pyserial-asyncio-fast,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "pymonoprice";
version = "0.5";
pyproject = true;
src = fetchFromGitHub {
owner = "etsinko";
repo = "pymonoprice";
tag = version;
hash = "sha256-kyFOWG/Jvn+h9ludzd2Zul9/lkwPxReH76nnDIGD+fM=";
};
build-system = [ setuptools ];
dependencies = [
pyserial
pyserial-asyncio-fast
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pymonoprice" ];
meta = {
description = "Python 3 interface implementation for Monoprice 6 zone amplifier";
homepage = "https://github.com/etsinko/pymonoprice";
changelog = "https://github.com/etsinko/pymonoprice/releases/tag/${version}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
}
|