anchor.diff: -{ stdenv, lib, fetchurl, dpkg, patchelf, qt5, libXtst, libXext, libX11, mkDerivation, makeWrapper, libXScrnSaver, writeScript }:
  +{ stdenv, lib, fetchurl, dpkg, patchelf, qt5, libXtst, libXext, libX11, mkDerivation, makeWrapper, libXScrnSaver, writeScript, common-updater-scripts, curl, pup }:
   
   let
     version = "2.16.4.2";
  
positive.code:       $out/bin/rescuetime
    '';
  
    passthru.updateScript = writeScript "rescuetime-updater" ''
      #!/usr/bin/env nix-shell
      #!nix-shell -i bash -p curl pup common-updater-scripts
      set -eu -o pipefail
      latestVersion="$(curl -sS https://www.rescuetime.com/release-notes/linux | pup '.release:first-of-type h2 strong text{}' | tr -d '\n')"
      update-source-version rescuetime "$latestVersion"
    '';
  
    meta = with lib; {
  
negative.code:       url = "https://www.rescuetime.com/installers/rescuetime_${version}_amd64.deb";
        sha256 = "03bmnkxhip1wilnfqs8akmy1hppahxrmnm8gasnmw5s922vn06cv";
      };
  in mkDerivation rec {
    # https://www.rescuetime.com/updates/linux_release_notes.html
    inherit version;
    pname = "rescuetime";
  