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