Skip to content

Commit 345c263

Browse files
committed
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 <[email protected]>
1 parent 0288c85 commit 345c263

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

pkgs/tools/text/zoekt/default.nix renamed to pkgs/by-name/zo/zoekt/package.nix

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,21 @@
22
, buildGoModule
33
, fetchFromGitHub
44
, git
5+
, nix-update-script
56
}:
7+
68
buildGoModule {
79
pname = "zoekt";
8-
version = "unstable-2022-11-09";
10+
version = "0-unstable-2024-09-05";
911

1012
src = fetchFromGitHub {
1113
owner = "sourcegraph";
1214
repo = "zoekt";
13-
rev = "c4b18d3b44da94b3e7c9c94467d68c029666bb86";
14-
hash = "sha256-QtwOiBxBeFkhRfH3R2fP72b05Hc4+zt9njqCNVcprZ4=";
15+
rev = "35dda3e212b7d7fb0df43dcbd88eb7a7b49ad9d8";
16+
hash = "sha256-YdInCAq7h7iC1sfMekLgxqu3plUHr5Ku6FxyPKluQzw=";
1517
};
1618

17-
vendorHash = "sha256-DiAqFJ8E5V0/eHztm92WVrf1XGPXmmOaVXaWHfQMn2k=";
19+
vendorHash = "sha256-GPeMRL5zWVjJVYpFPnB211Gfm/IaqisP1s6RNaLvN6M=";
1820

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

30+
passthru.updateScript = nix-update-script {
31+
extraArgs = [ "--version" "branch" ];
32+
};
33+
2834
meta = {
2935
description = "Fast trigram based code search";
3036
homepage = "https://github.com/sourcegraph/zoekt";

pkgs/top-level/all-packages.nix

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7438,10 +7438,6 @@ with pkgs;
74387438

74397439
zeekscript = callPackage ../tools/security/zeekscript { };
74407440

7441-
zoekt = callPackage ../tools/text/zoekt {
7442-
buildGoModule = buildGo121Module;
7443-
};
7444-
74457441
zonemaster-cli = perlPackages.ZonemasterCLI;
74467442

74477443
zotero-translation-server = callPackage ../tools/misc/zotero-translation-server { };

0 commit comments

Comments
 (0)