blob: 320b1ed0dcdc1ac4ab93cfffc129b397964b547e (
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,
setuptools,
pytestCheckHook,
pythonAtLeast,
wrapt,
}:
buildPythonPackage rec {
pname = "aiounittest";
version = "1.5.0";
pyproject = true;
# https://github.com/kwarunek/aiounittest/issues/28
disabled = pythonAtLeast "3.14";
src = fetchFromGitHub {
owner = "kwarunek";
repo = "aiounittest";
tag = version;
hash = "sha256-zX3KpDw7AaEwOLkiHX/ZD+rSMeN7qi9hOVAmVH6Jxgg=";
};
build-system = [ setuptools ];
dependencies = [ wrapt ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "aiounittest" ];
meta = {
changelog = "https://github.com/kwarunek/aiounittest/releases/tag/${src.tag}";
description = "Test asyncio code more easily";
homepage = "https://github.com/kwarunek/aiounittest";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|