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