1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-04 23:02:38 +03:00
nixpkgs/pkgs/development/python-modules/tox/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
700 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
2017-12-30 13:33:34 +01:00
, fetchPypi
, packaging
, pluggy
2017-12-30 13:33:34 +01:00
, py
, six
2017-12-30 13:33:34 +01:00
, virtualenv
, setuptools-scm
2018-11-04 11:35:19 +01:00
, toml
2022-10-17 08:51:14 +02:00
, tomli
2018-11-04 11:35:19 +01:00
, filelock
2022-10-17 08:51:14 +02:00
, pythonOlder
2017-12-30 13:33:34 +01:00
}:
buildPythonPackage rec {
pname = "tox";
version = "3.27.1";
2017-12-30 13:33:34 +01:00
buildInputs = [ setuptools-scm ];
2022-10-17 08:51:14 +02:00
propagatedBuildInputs = [ packaging pluggy py six virtualenv filelock ]
++ lib.optional (pythonOlder "3.11") tomli;
2017-12-30 13:33:34 +01:00
doCheck = false;
src = fetchPypi {
inherit pname version;
hash = "sha256-sqkg41pmjMBpQv/RzzpPsiGk2QnKchkftthLCxinvgQ=";
2017-12-30 13:33:34 +01:00
};
meta = with lib; {
description = "Virtualenv-based automation of test activities";
homepage = "https://tox.readthedocs.io/";
license = licenses.mit;
};
}