25 buildPythonPackage rec {
30 src = fetchFromGitHub {
33 rev = "refs/tags/${version}";
34 hash = "sha256-BLOxyvcC3ngQDVSMaw/NfLVbFkIHbTmhUOOVBqlcK/Q=";
38 substituteInPlace pyproject.toml \
39 --replace "packaging>=22" "packaging"
47 propagatedBuildInputs = [
60 ] ++ lib.optionals (pythonOlder "3.11") [ tomli ];
62 doCheck = false; # infinite recursion via devpi-client
65 version = testers.testVersion { package = tox; };
69 changelog = "https://github.com/tox-dev/tox/releases/tag/${version}";
70 description = "Generic virtualenv management and test command line tool";
72 homepage = "https://github.com/tox-dev/tox";
73 license = licenses.mit;