Commit 345c263f authored by Austin Seipp's avatar Austin Seipp
Browse files

zoekt: unstable-2022-11-09 -> 0-unstable-2024-09-05



Also incorporate `nix-update-script`, so the update robot can prevent future
bitrotting (there are no stable release tags at all.)

Signed-off-by: default avatarAustin Seipp <aseipp@pobox.com>
parent 0288c851
Loading
Loading
Loading
Loading
+10 −4
Original line number Diff line number Diff line
@@ -2,19 +2,21 @@
, buildGoModule
, fetchFromGitHub
, git
, nix-update-script
}:

buildGoModule {
  pname = "zoekt";
  version = "unstable-2022-11-09";
  version = "0-unstable-2024-09-05";

  src = fetchFromGitHub {
    owner = "sourcegraph";
    repo = "zoekt";
    rev = "c4b18d3b44da94b3e7c9c94467d68c029666bb86";
    hash = "sha256-QtwOiBxBeFkhRfH3R2fP72b05Hc4+zt9njqCNVcprZ4=";
    rev = "35dda3e212b7d7fb0df43dcbd88eb7a7b49ad9d8";
    hash = "sha256-YdInCAq7h7iC1sfMekLgxqu3plUHr5Ku6FxyPKluQzw=";
  };

  vendorHash = "sha256-DiAqFJ8E5V0/eHztm92WVrf1XGPXmmOaVXaWHfQMn2k=";
  vendorHash = "sha256-GPeMRL5zWVjJVYpFPnB211Gfm/IaqisP1s6RNaLvN6M=";

  nativeCheckInputs = [
    git
@@ -25,6 +27,10 @@ buildGoModule {
    git config --global --replace-all protocol.file.allow always
  '';

  passthru.updateScript = nix-update-script {
    extraArgs = [ "--version" "branch" ];
  };

  meta = {
    description = "Fast trigram based code search";
    homepage = "https://github.com/sourcegraph/zoekt";
+0 −4
Original line number Diff line number Diff line
@@ -7438,10 +7438,6 @@ with pkgs;
  zeekscript = callPackage ../tools/security/zeekscript { };
  zoekt = callPackage ../tools/text/zoekt {
    buildGoModule = buildGo121Module;
  };
  zonemaster-cli = perlPackages.ZonemasterCLI;
  zotero-translation-server = callPackage ../tools/misc/zotero-translation-server { };