blob: 4059a3c12fbe1f3fa7517901f1f66a07cd5a33b1 (
plain) (
blame)
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
42
43
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, hypothesis
, pytest
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "pytest-asyncio";
version = "0.16.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "pytest-dev";
repo = pname;
rev = "v${version}";
sha256 = "sha256-4zMbzdDtiLRKo5C12wZRoBNguXLn3f26NuDwQ+pHA0I=";
};
buildInputs = [
pytest
];
checkInputs = [
hypothesis
pytestCheckHook
];
pythonImportsCheck = [
"pytest_asyncio"
];
meta = with lib; {
description = "library for testing asyncio code with pytest";
homepage = "https://github.com/pytest-dev/pytest-asyncio";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};
}
|