diff --git a/pkgs/development/python-modules/bpython/default.nix b/pkgs/development/python-modules/bpython/default.nix index 4635e357d368..fc685f744b68 100644 --- a/pkgs/development/python-modules/bpython/default.nix +++ b/pkgs/development/python-modules/bpython/default.nix @@ -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";