Unverified Commit bff347d6 authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

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

parents b0b4582a 40acc6af
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -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";