python3Packages.bpython: add passthru.updateScript (#441822)

This commit is contained in:
dotlambda
2025-09-14 04:34:40 +00:00
committed by GitHub
@@ -14,6 +14,7 @@
setuptools,
urwid,
watchdog,
gitUpdater,
}:
buildPythonPackage rec {
@@ -24,7 +25,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "bpython";
repo = "bpython";
tag = version;
tag = "${version}-release";
hash = "sha256-p5+IQiHNRRazqr+WRdx3Yw+ImG25tdZGLXvMf7woD9w=";
};
@@ -63,6 +64,10 @@ buildPythonPackage rec {
pythonImportsCheck = [ "bpython" ];
passthru.updateScript = gitUpdater {
rev-suffix = "-release";
};
meta = with lib; {
changelog = "https://github.com/bpython/bpython/blob/${src.tag}/CHANGELOG.rst";
description = "Fancy curses interface to the Python interactive interpreter";