From 3d09c34184fab15a748f5f7bfef4a98c9722d4bf Mon Sep 17 00:00:00 2001 From: Fernando J Pando Date: Mon, 29 Aug 2016 10:30:56 -0400 Subject: [PATCH] pythonPackages.execnet: 1.1 -> 1.4.1 Tested on Linux - python 2.7 - python 3.5 --- pkgs/top-level/python-packages.nix | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 5cbc2682a335..686eede5202d 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6229,20 +6229,31 @@ in modules // { }; }; - execnet = buildPythonPackage rec { - name = "execnet-1.1"; - + name = "${pname}-${version}"; + pname = "execnet"; + version = "1.4.1"; src = pkgs.fetchurl { - url = "mirror://pypi/e/execnet/${name}.zip"; - sha256 = "fa1d8bd6b6d2282ff4df474b8ac687e1775bff4fc6462b219a5f89d5e9e6908c"; + url = "mirror://pypi/e/${pname}/${name}.tar.gz"; + sha256 = "1rpk1vyclhg911p3hql0m0nrpq7q7mysxnaaw6vs29cpa6kx8vgn"; }; - - doCheck = !isPy3k; # failures.. - + buildInputs = with self; [ pytest setuptools_scm ]; + propagatedBuildInputs = with self; [ apipkg ]; + # remove vbox tests + postPatch = '' + rm -v testing/test_termination.py + rm -v testing/test_channel.py + rm -v testing/test_xspec.py + rm -v testing/test_gateway.py + ''; + checkPhase = '' + py.test testing + ''; meta = { description = "Rapid multi-Python deployment"; license = licenses.gpl2; + homepage = "http://codespeak.net/execnet"; + maintainers = with maintainers; [ nand0p ]; }; };