blob: beae5db296abf86be7165a63e1466135ddfaacdb (
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
44
45
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonAtLeast,
setuptools,
pynose,
coverage,
wrapt,
}:
buildPythonPackage rec {
pname = "aiounittest";
version = "1.4.2";
pyproject = true;
src = fetchFromGitHub {
owner = "kwarunek";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-7lDOI1SHPpRZLTHRTmfbKlZH18T73poJdFyVmb+HKms=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ wrapt ];
nativeCheckInputs = [
pynose
coverage
];
checkPhase = ''
nosetests -e test_specific_test
'';
pythonImportsCheck = [ "aiounittest" ];
meta = with lib; {
description = "Test asyncio code more easily";
homepage = "https://github.com/kwarunek/aiounittest";
license = licenses.mit;
maintainers = [ ];
};
}
|