blob: 6399fec6b31a23b6bb2af123954864a929f43540 (
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,
pytest-asyncio,
pytestCheckHook,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "aioapcaccess";
version = "1.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "yuxincs";
repo = "aioapcaccess";
tag = "v${version}";
hash = "sha256-gCi0vo4w3jr4w5neQS9v821rdfE+SqnUkrOrEQUET7E=";
};
build-system = [
setuptools
setuptools-scm
];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "aioapcaccess" ];
meta = {
description = "Module for working with apcaccess";
homepage = "https://github.com/yuxincs/aioapcaccess";
changelog = "https://github.com/yuxincs/aioapcaccess/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|