2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, packaging
|
|
|
|
, pluggy
|
|
|
|
, py
|
|
|
|
, six
|
|
|
|
, virtualenv
|
2021-06-04 09:07:49 +00:00
|
|
|
, setuptools-scm
|
2020-04-24 23:36:52 +00:00
|
|
|
, toml
|
2022-11-04 12:27:35 +00:00
|
|
|
, tomli
|
2020-04-24 23:36:52 +00:00
|
|
|
, filelock
|
2022-11-04 12:27:35 +00:00
|
|
|
, pythonOlder
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "tox";
|
2022-09-30 11:47:45 +00:00
|
|
|
version = "3.26.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-06-04 09:07:49 +00:00
|
|
|
buildInputs = [ setuptools-scm ];
|
2022-11-04 12:27:35 +00:00
|
|
|
propagatedBuildInputs = [ packaging pluggy py six virtualenv filelock ]
|
|
|
|
++ lib.optional (pythonOlder "3.11") tomli;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-09-30 11:47:45 +00:00
|
|
|
sha256 = "sha256-RPPDR8aMLGh5nX1E8YCPnTlvyKGlAMvGJCUzdceuEH4=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Virtualenv-based automation of test activities";
|
|
|
|
homepage = "https://tox.readthedocs.io/";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|