at 23.05-pre 24 lines 617 B view raw
1{ lib, buildGoModule, fetchFromGitHub }: 2 3buildGoModule rec { 4 pname = "codesearch"; 5 version = "1.2.0"; 6 7 src = fetchFromGitHub { 8 owner = "google"; 9 repo = "codesearch"; 10 rev = "v${version}"; 11 sha256 = "sha256-i03w8PZ31j5EutUZaamZsHz+z4qgX4prePbj5DLA78s="; 12 }; 13 14 vendorSha256 = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo="; 15 16 ldflags = [ "-s" "-w" ]; 17 18 meta = with lib; { 19 description = "Fast, indexed regexp search over large file trees"; 20 homepage = "https://github.com/google/codesearch"; 21 license = [ licenses.bsd3 ]; 22 maintainers = with maintainers; [ bennofs ]; 23 }; 24}