1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 pytestCheckHook,
7 wrapt,
8}:
9
10buildPythonPackage rec {
11 pname = "aiounittest";
12 version = "1.5.0";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "kwarunek";
17 repo = "aiounittest";
18 tag = version;
19 hash = "sha256-zX3KpDw7AaEwOLkiHX/ZD+rSMeN7qi9hOVAmVH6Jxgg=";
20 };
21
22 build-system = [ setuptools ];
23
24 dependencies = [ wrapt ];
25
26 nativeCheckInputs = [ pytestCheckHook ];
27
28 pythonImportsCheck = [ "aiounittest" ];
29
30 meta = with lib; {
31 changelog = "https://github.com/kwarunek/aiounittest/releases/tag/${src.tag}";
32 description = "Test asyncio code more easily";
33 homepage = "https://github.com/kwarunek/aiounittest";
34 license = licenses.mit;
35 maintainers = [ ];
36 };
37}