2022-03-08 14:02:55 +01:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2016-12-11 15:06:20 +01:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "codesearch";
|
2022-03-08 14:02:55 +01:00
|
|
|
version = "1.0.0";
|
2016-12-11 15:06:20 +01:00
|
|
|
|
|
|
|
goPackagePath = "github.com/google/codesearch";
|
|
|
|
|
2022-03-08 14:02:55 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "google";
|
|
|
|
repo = "codesearch";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-3kJ/JT89krbIvprWayBL4chUmT77Oa1W13UNCr4fe4k=";
|
2016-12-11 15:06:20 +01:00
|
|
|
};
|
|
|
|
|
2022-03-08 14:02:55 +01:00
|
|
|
meta = with lib; {
|
2016-12-11 15:06:20 +01:00
|
|
|
description = "Fast, indexed regexp search over large file trees";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/google/codesearch";
|
2022-03-08 14:02:55 +01:00
|
|
|
license = [ licenses.bsd3 ];
|
|
|
|
maintainers = with maintainers; [ bennofs ];
|
2016-12-11 15:06:20 +01:00
|
|
|
};
|
|
|
|
}
|