depot/third_party/nixpkgs/pkgs/development/python-modules/tox/default.nix
Default email 1be0098156 Project import generated by Copybara.
GitOrigin-RevId: 667e5581d16745bcda791300ae7e2d73f49fff25
2022-11-04 13:27:35 +01:00

36 lines
702 B
Nix

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