blob: f66343a8823bceb31a7d1e6763e2ef32831e9abb (
plain)
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
44
45
46
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
isPy27,
pytest,
tornado,
}:
buildPythonPackage {
pname = "pytest-tornasync";
version = "0.6.0.post2";
format = "setuptools";
disabled = isPy27;
src = fetchFromGitHub {
owner = "eukaryote";
repo = "pytest-tornasync";
# upstream does not keep git tags in sync with pypy releases
# https://github.com/eukaryote/pytest-tornasync/issues/9
rev = "c5f013f1f727f1ca1fcf8cc748bba7f4a2d79e56";
sha256 = "04cg1cfrr55dbi8nljkpcsc103i5c6p0nr46vjr0bnxgkxx03x36";
};
buildInputs = [ pytest ];
propagatedBuildInputs = [ tornado ];
__darwinAllowLocalNetworking = true;
nativeCheckInputs = [
pytest
tornado
];
checkPhase = ''
pytest test
'';
meta = {
description = "py.test plugin for testing Python 3.5+ Tornado code";
homepage = "https://github.com/eukaryote/pytest-tornasync";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|