diff options
author | Aaron Jheng <wentworth@outlook.com> | 2022-04-16 01:26:38 +0000 |
---|---|---|
committer | Aaron Jheng <wentworth@outlook.com> | 2022-04-16 01:26:38 +0000 |
commit | 7d9514667094595c3263c5dddf85ae737c64caf5 (patch) | |
tree | 695a3caac6f4b810ce6e5e0c1b37227a06bec782 /pkgs/tools/text | |
parent | d65737159901111d459efba97c19564c6d6d157b (diff) | |
download | nixlib-7d9514667094595c3263c5dddf85ae737c64caf5.tar nixlib-7d9514667094595c3263c5dddf85ae737c64caf5.tar.gz nixlib-7d9514667094595c3263c5dddf85ae737c64caf5.tar.bz2 nixlib-7d9514667094595c3263c5dddf85ae737c64caf5.tar.lz nixlib-7d9514667094595c3263c5dddf85ae737c64caf5.tar.xz nixlib-7d9514667094595c3263c5dddf85ae737c64caf5.tar.zst nixlib-7d9514667094595c3263c5dddf85ae737c64caf5.zip |
codesearch: 1.0.0 -> 1.2.0
Diffstat (limited to 'pkgs/tools/text')
-rw-r--r-- | pkgs/tools/text/codesearch/default.nix | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/pkgs/tools/text/codesearch/default.nix b/pkgs/tools/text/codesearch/default.nix index 40ee8c58fbcc..b02d4fcd5fc9 100644 --- a/pkgs/tools/text/codesearch/default.nix +++ b/pkgs/tools/text/codesearch/default.nix @@ -1,18 +1,20 @@ -{ lib, buildGoPackage, fetchFromGitHub }: +{ lib, buildGoModule, fetchFromGitHub }: -buildGoPackage rec { +buildGoModule rec { pname = "codesearch"; - version = "1.0.0"; - - goPackagePath = "github.com/google/codesearch"; + version = "1.2.0"; src = fetchFromGitHub { owner = "google"; repo = "codesearch"; rev = "v${version}"; - sha256 = "sha256-3kJ/JT89krbIvprWayBL4chUmT77Oa1W13UNCr4fe4k="; + 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"; |