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:
parent
0288c85138
commit
345c263f2f
@ -2,19 +2,21 @@
|
|||||||
, buildGoModule
|
, buildGoModule
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, git
|
, git
|
||||||
|
, nix-update-script
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule {
|
buildGoModule {
|
||||||
pname = "zoekt";
|
pname = "zoekt";
|
||||||
version = "unstable-2022-11-09";
|
version = "0-unstable-2024-09-05";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "sourcegraph";
|
owner = "sourcegraph";
|
||||||
repo = "zoekt";
|
repo = "zoekt";
|
||||||
rev = "c4b18d3b44da94b3e7c9c94467d68c029666bb86";
|
rev = "35dda3e212b7d7fb0df43dcbd88eb7a7b49ad9d8";
|
||||||
hash = "sha256-QtwOiBxBeFkhRfH3R2fP72b05Hc4+zt9njqCNVcprZ4=";
|
hash = "sha256-YdInCAq7h7iC1sfMekLgxqu3plUHr5Ku6FxyPKluQzw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-DiAqFJ8E5V0/eHztm92WVrf1XGPXmmOaVXaWHfQMn2k=";
|
vendorHash = "sha256-GPeMRL5zWVjJVYpFPnB211Gfm/IaqisP1s6RNaLvN6M=";
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
git
|
git
|
||||||
@ -25,6 +27,10 @@ buildGoModule {
|
|||||||
git config --global --replace-all protocol.file.allow always
|
git config --global --replace-all protocol.file.allow always
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.updateScript = nix-update-script {
|
||||||
|
extraArgs = [ "--version" "branch" ];
|
||||||
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Fast trigram based code search";
|
description = "Fast trigram based code search";
|
||||||
homepage = "https://github.com/sourcegraph/zoekt";
|
homepage = "https://github.com/sourcegraph/zoekt";
|
@ -7438,10 +7438,6 @@ with pkgs;
|
|||||||
|
|
||||||
zeekscript = callPackage ../tools/security/zeekscript { };
|
zeekscript = callPackage ../tools/security/zeekscript { };
|
||||||
|
|
||||||
zoekt = callPackage ../tools/text/zoekt {
|
|
||||||
buildGoModule = buildGo121Module;
|
|
||||||
};
|
|
||||||
|
|
||||||
zonemaster-cli = perlPackages.ZonemasterCLI;
|
zonemaster-cli = perlPackages.ZonemasterCLI;
|
||||||
|
|
||||||
zotero-translation-server = callPackage ../tools/misc/zotero-translation-server { };
|
zotero-translation-server = callPackage ../tools/misc/zotero-translation-server { };
|
||||||
|
Loading…
Reference in New Issue
Block a user