blob: 1b150594f15ebb6f366ede1fce280604470fd885 (
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
|
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
pytest-asyncio,
pytestCheckHook,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "autoskope-client";
version = "1.4.1";
pyproject = true;
src = fetchFromGitHub {
owner = "mcisk";
repo = "autoskope_client";
tag = "v${finalAttrs.version}";
hash = "sha256-ThrI5BzjxVg4K1fvRZvPfDycAh4A9rm226FSpk3a/zs=";
};
build-system = [ setuptools ];
dependencies = [ aiohttp ];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
disabledTestMarks = [
"integration"
];
pythonImportsCheck = [ "autoskope_client" ];
meta = {
description = "Python client library for the Autoskope API";
homepage = "https://github.com/mcisk/autoskope_client";
changelog = "https://github.com/mcisk/autoskope_client/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ jamiemagee ];
};
})
|