blob: 407f8a55725c908f112c79c01c54aebb99d71118 (
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,
buildPythonPackage,
fetchFromGitHub,
setuptools-scm,
async-lru,
pytestCheckHook,
pytest-asyncio,
}:
buildPythonPackage (finalAttrs: {
pname = "aiotools";
version = "2.2.3";
pyproject = true;
src = fetchFromGitHub {
owner = "achimnol";
repo = "aiotools";
tag = finalAttrs.version;
hash = "sha256-uIG3JPqep4NGtZa7Qo8SOK9Ca1GNKyuBasFtwR9oG8U=";
};
build-system = [
setuptools-scm
];
dependencies = [
async-lru
];
nativeCheckInputs = [
pytestCheckHook
pytest-asyncio
];
pythonImportsCheck = [ "aiotools" ];
meta = {
description = "Idiomatic asyncio utilities";
homepage = "https://github.com/achimnol/aiotools";
changelog = "https://github.com/achimnol/aiotools/blob/${finalAttrs.src.tag}/CHANGES.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ robertjakub ];
};
})
|