1{ stdenv, pkgs, buildPythonPackage, fetchurl, isPy26, argparse, py, selenium }: 2buildPythonPackage rec { 3 name = "pytest-2.7.3"; 4 5 src = fetchurl { 6 url = "mirror://pypi/p/pytest/${name}.tar.gz"; 7 sha256 = "1z4yi986f9n0p8qmzmn21m21m8j1x78hk3505f89baqm6pdw7afm"; 8 }; 9 10 # Disabled temporarily because of Hydra issue with namespaces 11 doCheck = false; 12 13 preCheck = '' 14 # don't test bash builtins 15 rm testing/test_argcomplete.py 16 ''; 17 18 propagatedBuildInputs = [ py ] 19 ++ (stdenv.lib.optional isPy26 argparse) 20 ++ stdenv.lib.optional 21 pkgs.config.pythonPackages.pytest.selenium or false 22 selenium; 23 24 meta = with stdenv.lib; { 25 maintainers = with maintainers; [ domenkozar lovek323 madjar ]; 26 platforms = platforms.unix; 27 }; 28}