Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions pkgs/development/python-modules/virtualenv/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,24 @@
, hatch-vcs
, hatchling
, importlib-metadata
, importlib-resources
, platformdirs
, pytest-freezegun
, pytest-mock
, pytest-timeout
, pytestCheckHook
, time-machine
}:

buildPythonPackage rec {
pname = "virtualenv";
version = "20.19.0";
version = "20.24.0";
format = "pyproject";

disabled = pythonOlder "3.6";
disabled = pythonOlder "3.7";

src = fetchPypi {
inherit pname version;
hash = "sha256-N6ZAuoLtQLImWZxSLUEeS+XtszmgwN4DDA3HtkbWFZA=";
hash = "sha256-4qfO+dqIDWk7kz23ZUNndU8U4gZQ3GDo7nOFVx+Fk6M=";
};

nativeBuildInputs = [
Expand All @@ -40,8 +40,6 @@ buildPythonPackage rec {
distlib
filelock
platformdirs
] ++ lib.optionals (pythonOlder "3.7") [
importlib-resources
] ++ lib.optionals (pythonOlder "3.8") [
importlib-metadata
];
Expand All @@ -57,6 +55,7 @@ buildPythonPackage rec {
pytest-mock
pytest-timeout
pytestCheckHook
time-machine
];

preCheck = ''
Expand Down