Merge pull request #201154 from aaronjheng/zhf/zoekt

zoekt: unstable-2021-03-17 -> unstable-2022-11-09
This commit is contained in:
Robert Scott 2022-11-14 22:46:54 +00:00 committed by GitHub
commit e302ca6e8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,28 +1,31 @@
{ stdenv
, lib
{ lib
, buildGoModule
, fetchFromGitHub
, git
}:
buildGoModule {
pname = "zoekt";
version = "unstable-2021-03-17";
version = "unstable-2022-11-09";
src = fetchFromGitHub {
owner = "google";
owner = "sourcegraph";
repo = "zoekt";
rev = "d92b3b80e582e735b2459413ee7d9dbbf294d629";
sha256 = "JdORh6bRdHsAYwsmdKY0OUavXfu3HsPQFkQjRBkcMBo=";
rev = "c4b18d3b44da94b3e7c9c94467d68c029666bb86";
hash = "sha256-QtwOiBxBeFkhRfH3R2fP72b05Hc4+zt9njqCNVcprZ4=";
};
vendorSha256 = "d+Xvl6fleMO0frP9qr5tZgkzsnH5lPELwmEQEspD22M=";
vendorHash = "sha256-DiAqFJ8E5V0/eHztm92WVrf1XGPXmmOaVXaWHfQMn2k=";
checkInputs = [
git
];
preCheck = ''
export HOME=`mktemp -d`
git config --global --replace-all protocol.file.allow always
'';
meta = with lib; {
broken = stdenv.isDarwin;
description = "Fast trigram based code search";
homepage = "https://github.com/google/zoekt";
license = licenses.asl20;