about summary refs log tree commit diff
path: root/pkgs/tools/text/codesearch
diff options
context:
space:
mode:
authorBen Siraphob <bensiraphob@gmail.com>2021-01-15 16:19:50 +0700
committerBen Siraphob <bensiraphob@gmail.com>2021-01-15 17:12:36 +0700
commit8c5d37129fc5097d9fb52e95fb07de75392d1c3c (patch)
tree40cfd341b87811008151e9ecf053cf7449574b98 /pkgs/tools/text/codesearch
parent94f36839357387fd711d17d762d88c69767f265b (diff)
downloadnixlib-8c5d37129fc5097d9fb52e95fb07de75392d1c3c.tar
nixlib-8c5d37129fc5097d9fb52e95fb07de75392d1c3c.tar.gz
nixlib-8c5d37129fc5097d9fb52e95fb07de75392d1c3c.tar.bz2
nixlib-8c5d37129fc5097d9fb52e95fb07de75392d1c3c.tar.lz
nixlib-8c5d37129fc5097d9fb52e95fb07de75392d1c3c.tar.xz
nixlib-8c5d37129fc5097d9fb52e95fb07de75392d1c3c.tar.zst
nixlib-8c5d37129fc5097d9fb52e95fb07de75392d1c3c.zip
pkgs/tools: stdenv.lib -> lib
Diffstat (limited to 'pkgs/tools/text/codesearch')
-rw-r--r--pkgs/tools/text/codesearch/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/tools/text/codesearch/default.nix b/pkgs/tools/text/codesearch/default.nix
index 37336e63efe6..bdb273de372b 100644
--- a/pkgs/tools/text/codesearch/default.nix
+++ b/pkgs/tools/text/codesearch/default.nix
@@ -1,9 +1,9 @@
 # This file was generated by go2nix.
-{ stdenv, buildGoPackage, fetchgit }:
+{ lib, stdenv, buildGoPackage, fetchgit }:
 
 buildGoPackage rec {
   pname = "codesearch";
-  version = "20150717-${stdenv.lib.strings.substring 0 7 rev}";
+  version = "20150717-${lib.strings.substring 0 7 rev}";
   rev = "a45d81b686e85d01f2838439deaf72126ccd5a96";
 
   goPackagePath = "github.com/google/codesearch";
@@ -17,8 +17,8 @@ buildGoPackage rec {
   meta = {
     description = "Fast, indexed regexp search over large file trees";
     homepage = "https://github.com/google/codesearch";
-    license = [ stdenv.lib.licenses.bsd3 ];
-    maintainers = [ stdenv.lib.maintainers.bennofs ];
-    platforms = stdenv.lib.platforms.unix;
+    license = [ lib.licenses.bsd3 ];
+    maintainers = [ lib.maintainers.bennofs ];
+    platforms = lib.platforms.unix;
   };
 }