1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, pytest_3
5, setuptools_scm
6, apipkg
7}:
8
9buildPythonPackage rec {
10 pname = "execnet";
11 version = "1.5.0";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "a7a84d5fa07a089186a329528f127c9d73b9de57f1a1131b82bb5320ee651f6a";
16 };
17
18 checkInputs = [ pytest_3 ];
19 nativeBuildInputs = [ setuptools_scm ];
20 propagatedBuildInputs = [ apipkg ];
21
22 # remove vbox tests
23 postPatch = ''
24 rm -v testing/test_termination.py
25 rm -v testing/test_channel.py
26 rm -v testing/test_xspec.py
27 rm -v testing/test_gateway.py
28 '';
29
30 checkPhase = ''
31 py.test testing
32 '';
33
34 # not yet compatible with pytest 4
35 doCheck = false;
36
37 __darwinAllowLocalNetworking = true;
38
39 meta = with stdenv.lib; {
40 description = "Rapid multi-Python deployment";
41 license = licenses.gpl2;
42 homepage = "http://codespeak.net/execnet";
43 maintainers = with maintainers; [ nand0p ];
44 };
45
46}