2022-04-16 01:26:38 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2016-12-11 14:06:20 +00:00
|
|
|
|
2022-04-16 01:26:38 +00:00
|
|
|
buildGoModule rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "codesearch";
|
2022-04-16 01:26:38 +00:00
|
|
|
version = "1.2.0";
|
2016-12-11 14:06:20 +00:00
|
|
|
|
2022-03-08 13:02:55 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "google";
|
|
|
|
repo = "codesearch";
|
|
|
|
rev = "v${version}";
|
2022-04-16 01:26:38 +00:00
|
|
|
sha256 = "sha256-i03w8PZ31j5EutUZaamZsHz+z4qgX4prePbj5DLA78s=";
|
2016-12-11 14:06:20 +00:00
|
|
|
};
|
|
|
|
|
2023-09-21 17:11:11 +00:00
|
|
|
vendorHash = null;
|
2022-04-16 01:26:38 +00:00
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
2022-03-08 13:02:55 +00:00
|
|
|
meta = with lib; {
|
2016-12-11 14:06:20 +00:00
|
|
|
description = "Fast, indexed regexp search over large file trees";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/google/codesearch";
|
2022-03-08 13:02:55 +00:00
|
|
|
license = [ licenses.bsd3 ];
|
|
|
|
maintainers = with maintainers; [ bennofs ];
|
2016-12-11 14:06:20 +00:00
|
|
|
};
|
|
|
|
}
|