My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/tools/text/codesearch/default.nix

24 lines
617 B

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "codesearch";
version = "1.2.0";
src = fetchFromGitHub {
owner = "google";
repo = "codesearch";
rev = "v${version}";
sha256 = "sha256-i03w8PZ31j5EutUZaamZsHz+z4qgX4prePbj5DLA78s=";
};
vendorSha256 = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo=";
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "Fast, indexed regexp search over large file trees";
homepage = "https://github.com/google/codesearch";
license = [ licenses.bsd3 ];
maintainers = with maintainers; [ bennofs ];
};
}