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-11-21 17:40:18 +00:00
|
|
|
version = "3.27.1";
|
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-11-21 17:40:18 +00:00
|
|
|
hash = "sha256-sqkg41pmjMBpQv/RzzpPsiGk2QnKchkftthLCxinvgQ=";
|
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;
|
|
|
|
};
|
|
|
|
}
|