pytest-virtualenv: init pytest-virtualenv-1.1.0

Tested on Linux
- python 2.7
- python 3.5
This commit is contained in:
Fernando J Pando 2016-08-18 10:17:53 -04:00 committed by Frederik Rietdijk
parent bea6b4b36f
commit e800ba8df7

View File

@ -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 whats 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";