|
|
|
@ -4889,6 +4889,26 @@ in modules // { |
|
|
|
|
}; |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
pytest-virtualenv = buildPythonPackage rec { |
|
|
|
|
name = "${pname}-${version}"; |
|
|
|
|
pname = "pytest-virtualenv"; |
|
|
|
|
version = "1.1.0"; |
|
|
|
|
src = pkgs.fetchurl { |
|
|
|
|
url = "mirror://pypi/p/${pname}/${name}.tar.gz"; |
|
|
|
|
sha256 = "093f5fa479ee6201e48db367c307531dc8b800609b0c3ddca9c01e0fd466a669"; |
|
|
|
|
}; |
|
|
|
|
buildInputs = with self; [ pytestcov mock cmdline ]; |
|
|
|
|
propagatedBuildInputs = with self; [ pytest-fixture-config pytest-shutil pytest ]; |
|
|
|
|
checkPhase = '' py.test tests/unit ''; |
|
|
|
|
meta = { |
|
|
|
|
description = "Create a Python virtual environment in your test that cleans up on teardown. The fixture has utility methods to install packages and list what’s installed."; |
|
|
|
|
homepage = https://github.com/manahl/pytest-plugins; |
|
|
|
|
license = licenses.mit; |
|
|
|
|
maintainers = with maintainers; [ ryansydnor ]; |
|
|
|
|
platforms = platforms.all; |
|
|
|
|
}; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
pytest_xdist = buildPythonPackage rec { |
|
|
|
|
name = "pytest-xdist-1.8"; |
|
|
|
|
|
|
|
|
|