Files
nixpkgs/pkgs/by-name/zo/zoekt/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

46 lines
913 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
gitMinimal,
nix-update-script,
}:
buildGoModule {
pname = "zoekt";
version = "3.7.2-2-unstable-2025-09-02";
src = fetchFromGitHub {
owner = "sourcegraph";
repo = "zoekt";
rev = "4e4a529c3b63c7d4c7897ba736f1cd52cc163134";
hash = "sha256-aRQQAG0qZOrkdbQoQRXeddhMmQaB+/ESD6Ba+q4UIlI=";
};
vendorHash = "sha256-urXYBv8+C2jwnr5PjXz7nUyX/Gz4wmtS76UTXFqfQFk=";
nativeCheckInputs = [
gitMinimal
];
preCheck = ''
export HOME=`mktemp -d`
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";
license = lib.licenses.asl20;
maintainers = [ ];
mainProgram = "zoekt";
};
}