mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
pytest-virtualenv: init pytest-virtualenv-1.1.0
Tested on Linux - python 2.7 - python 3.5
This commit is contained in:
parent
bea6b4b36f
commit
e800ba8df7
@ -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";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user