python3Packages.cmd2: 3.2.1 -> 4.2.1

Changelog: https://github.com/python-cmd2/cmd2/releases/tag/4.2.1
This commit is contained in:
Fabian Affolter
2026-08-24 16:29:20 +02:00
parent 31a7d3558e
commit ffd93b67a1

View File

@@ -5,6 +5,7 @@
fetchPypi,
glibcLocales,
gnureadline,
prompt-toolkit,
pyperclip,
pytest-cov-stub,
pytest-mock,
@@ -14,27 +15,26 @@
wcwidth,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "cmd2";
version = "3.2.1";
version = "4.2.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-bGNyobJs0Uu2IJZTyJ1zAP58FDno3KMPW2tv/bXyFPo=";
inherit (finalAttrs) pname version;
hash = "sha256-iQIWA6GM60FgDS8CtAxd9NN+QRAnMI6aWHFL4fOla2s=";
};
build-system = [ setuptools-scm ];
dependencies = [
prompt-toolkit
pyperclip
rich-argparse
wcwidth
]
++ lib.optional stdenv.hostPlatform.isDarwin gnureadline;
doCheck = true;
nativeCheckInputs = [
glibcLocales
pytestCheckHook
@@ -55,8 +55,8 @@ buildPythonPackage rec {
meta = {
description = "Enhancements for standard library's cmd module";
homepage = "https://github.com/python-cmd2/cmd2";
changelog = "https://github.com/python-cmd2/cmd2/releases/tag/${version}";
changelog = "https://github.com/python-cmd2/cmd2/releases/tag/${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ teto ];
};
}
})