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: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
Austin Seipp 2024-09-08 18:19:32 -05:00
parent 0288c85138
commit 345c263f2f
2 changed files with 10 additions and 8 deletions

View File

@ -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";

View File

@ -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 { };