@@ -1,26 +1,18 @@
11{ buildPythonPackage
2+, fetchPypi
3+, lib
4+, stdenv
5+, pythonOlder
6+, isPy27
27, appdirs
38, contextlib2
4−, cython
59, distlib
6−, fetchPypi
710, filelock
8−, fish
9−, flaky
1011, importlib-metadata
1112, importlib-resources
12−, isPy27
13−, lib
1413, pathlib2
15−, pytest-freezegun
16−, pytest-mock
17−, pytest-timeout
18−, pytestCheckHook
19−, pythonOlder
2014, setuptools_scm
2115, six
22−, stdenv
23−, xonsh
2416}:
2517
2618buildPythonPackage rec {
@@ -55,33 +47,10 @@ buildPythonPackage rec {
5547 ./0001-Check-base_prefix-and-base_exec_prefix-for-Python-2.patch
5648 ];
5749
58− checkInputs = [
59− cython
60− fish
61− flaky
62− pytest-freezegun
63− pytest-mock
64− pytest-timeout
65− pytestCheckHook
66− ] ++ lib.optionals (pythonOlder "3.9") [
67− xonsh
68− ];
69−
70− preCheck = "export HOME=$(mktemp -d)";
71−
72− # Ignore tests which requires network access
73− pytestFlagsArray = [
74− "--ignore tests/unit/create/test_creator.py"
75− "--ignore tests/unit/seed/embed/test_bootstrap_link_via_app_data.py"
76− ];
77−
78− disabledTests = [ "test_can_build_c_extensions" ];
79− pythonImportsCheck = [ "virtualenv" ];
80−
81− meta = with lib; {
50+ meta = {
8251 description = "A tool to create isolated Python environments";
8352 homepage = "http://www.virtualenv.org";
84− license = licenses.mit;
85− maintainers = with maintainers; [ goibhniu ];
53+ license = lib.licenses.mit;
54+ maintainers = with lib.maintainers; [ goibhniu ];
8655 };
8756}