python3Packages.bpython: add passthru.updateScript (#441822)
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user