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

dotlambda bff347d6 b0b4582a

Changed files
+6 -1
pkgs
development
python-modules
bpython
+6 -1
pkgs/development/python-modules/bpython/default.nix
···
setuptools,
urwid,
watchdog,
+
gitUpdater,
}:
buildPythonPackage rec {
···
src = fetchFromGitHub {
owner = "bpython";
repo = "bpython";
-
tag = version;
+
tag = "${version}-release";
hash = "sha256-p5+IQiHNRRazqr+WRdx3Yw+ImG25tdZGLXvMf7woD9w=";
};
···
++ lib.flatten (lib.attrValues optional-dependencies);
pythonImportsCheck = [ "bpython" ];
+
+
passthru.updateScript = gitUpdater {
+
rev-suffix = "-release";
+
};
meta = with lib; {
changelog = "https://github.com/bpython/bpython/blob/${src.tag}/CHANGELOG.rst";