1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, nose
5, coverage
6, isPy27
7}:
8
9buildPythonPackage rec {
10 pname = "aiounittest";
11 version = "1.3.1";
12 disabled = isPy27;
13
14 src = fetchFromGitHub {
15 owner = "kwarunek";
16 repo = pname;
17 rev = version;
18 sha256 = "0mlic2q49cb0vv62mixy4i4x8c91qb6jlji7khiamcxcg676nasl";
19 };
20
21 checkInputs = [
22 nose
23 coverage
24 ];
25
26 checkPhase = ''
27 nosetests
28 '';
29
30 meta = with lib; {
31 description = "Test asyncio code more easily";
32 homepage = "https://github.com/kwarunek/aiounittest";
33 license = licenses.mit;
34 maintainers = [ maintainers.costrouc ];
35 };
36}