2022-03-30 09:31:56 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "codesearch";
|
2022-03-30 09:31:56 +00:00
|
|
|
version = "1.0.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/google/codesearch";
|
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "google";
|
|
|
|
repo = "codesearch";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-3kJ/JT89krbIvprWayBL4chUmT77Oa1W13UNCr4fe4k=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Fast, indexed regexp search over large file trees";
|
|
|
|
homepage = "https://github.com/google/codesearch";
|
2022-03-30 09:31:56 +00:00
|
|
|
license = [ licenses.bsd3 ];
|
|
|
|
maintainers = with maintainers; [ bennofs ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|