depot/third_party/nixpkgs/pkgs/development/python-modules/tox/default.nix
Default email 01ed8ef136 Project import generated by Copybara.
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
2022-11-21 19:40:18 +02:00

36 lines
700 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, packaging
, pluggy
, py
, six
, virtualenv
, setuptools-scm
, toml
, tomli
, filelock
, pythonOlder
}:
buildPythonPackage rec {
pname = "tox";
version = "3.27.1";
buildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ packaging pluggy py six virtualenv filelock ]
++ lib.optional (pythonOlder "3.11") tomli;
doCheck = false;
src = fetchPypi {
inherit pname version;
hash = "sha256-sqkg41pmjMBpQv/RzzpPsiGk2QnKchkftthLCxinvgQ=";
};
meta = with lib; {
description = "Virtualenv-based automation of test activities";
homepage = "https://tox.readthedocs.io/";
license = licenses.mit;
};
}