1 { lib, buildPythonPackage, fetchPypi
2 , pytest, pytestcov, mock, cmdline, pytest-fixture-config, pytest-shutil, virtualenv }:
4 buildPythonPackage rec {
5 pname = "pytest-virtualenv";
10 sha256 = "03w2zz3crblj1p6i8nq17946hbn3zqp9z7cfnifw47hi4a4fww12";
13 checkInputs = [ pytest pytestcov mock cmdline ];
14 propagatedBuildInputs = [ pytest-fixture-config pytest-shutil virtualenv ];
15 checkPhase = "py.test tests/unit ";
17 nativeBuildInputs = [ pytest ];
20 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.";
21 homepage = "https://github.com/manahl/pytest-plugins";
22 license = licenses.mit;
23 maintainers = with maintainers; [ ryansydnor ];