python3Packages.tabulate: 0.8.10 -> 0.9.0

This commit is contained in:
Martin Weinelt 2022-12-30 20:13:50 +01:00
parent a4975abeea
commit ec9de6c4be

View File

@ -1,22 +1,39 @@
{ lib
, buildPythonPackage
, fetchPypi
, nose
, pythonOlder
, setuptools-scm
, setuptools
, wcwidth
, pytestCheckHook
}:
buildPythonPackage rec {
version = "0.8.10";
version = "0.9.0";
pname = "tabulate";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-bFfz8916wngncBVfOtstsLGiaWN+QvJ1mZJeZLEU9Rk=";
hash = "sha256-AJWxK/WWbeUpwP6x+ghnFnGzNo7sd9fverEUviwGizw=";
};
checkInputs = [ nose ];
SETUPTOOLS_SCM_PRETEND_VERSION = version;
# Tests: cannot import common (relative import).
doCheck = false;
nativeBuildInputs = [
setuptools
setuptools-scm
];
passthru.optional-dependencies = {
widechars = [ wcwidth ];
};
checkInputs = [
pytestCheckHook
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
meta = {
description = "Pretty-print tabular data";