1{
2 lib,
3 aiomisc,
4 buildPythonPackage,
5 fetchPypi,
6 poetry-core,
7 pytest,
8 pythonOlder,
9 pythonRelaxDepsHook,
10}:
11
12buildPythonPackage rec {
13 pname = "aiomisc-pytest";
14 version = "1.2.1";
15 pyproject = true;
16
17 disabled = pythonOlder "3.7";
18
19 src = fetchPypi {
20 pname = "aiomisc_pytest";
21 inherit version;
22 hash = "sha256-4mWP77R3CoX+XhoT6BbxQtxpINpdmeozjYUsegNfMyU=";
23 };
24
25 build-system = [ poetry-core ];
26
27 nativeBuildInputs = [ pythonRelaxDepsHook ];
28
29 pythonRelaxDeps = [ "pytest" ];
30
31 buildInputs = [ pytest ];
32
33 dependencies = [ aiomisc ];
34
35 pythonImportsCheck = [ "aiomisc_pytest" ];
36
37 # Module has no tests
38 doCheck = false;
39
40 meta = with lib; {
41 description = "Pytest integration for aiomisc";
42 homepage = "https://github.com/aiokitchen/aiomisc-pytest";
43 license = licenses.asl20;
44 maintainers = with maintainers; [ fab ];
45 };
46}