From b20bf7982e2ab1ccf532230b2a1665b11fa227a7 Mon Sep 17 00:00:00 2001 From: Jaka Hudoklin Date: Fri, 20 Sep 2013 17:57:18 +0200 Subject: [PATCH] pythonPackages: add pytest_xdist, plugin for distributed testing and loop-on-failing modes --- pkgs/top-level/python-packages.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 56ed411f8976..cb1f19eeb531 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1104,6 +1104,23 @@ pythonPackages = modules // import ./python-packages-generated.nix { }; }; + pytest_xdist = buildPythonPackage rec { + name = "pytest-xdist-1.8"; + + src = fetchurl { + url = "https://pypi.python.org/packages/source/p/pytest-xdist/pytest-xdist-1.8.zip"; + md5 = "9c0b8efe9d43b460f8cf049fa46ce14d"; + }; + + buildInputs = [ pkgs.unzip pytest ]; + propagatedBuildInputs = [ execnet ]; + + meta = { + description = "py.test xdist plugin for distributed testing and loop-on-failing modes"; + homepage = http://bitbucket.org/hpk42/pytest-xdist; + }; + }; + cssselect = buildPythonPackage rec { name = "cssselect-0.7.1"; src = fetchurl {