summary refs log tree commit diff
path: root/pkgs/tools/text/codesearch
diff options
context:
space:
mode:
authorBenno Fünfstück <benno.fuenfstueck@gmail.com>2016-12-11 15:06:20 +0100
committerBenno Fünfstück <benno.fuenfstueck@gmail.com>2016-12-27 15:13:07 +0100
commita55bf2b812463c992dad5f441efb8831dde10a0b (patch)
tree844136ee144988e2c9359cd47820199d3a5c6f81 /pkgs/tools/text/codesearch
parent2436fc1b11647ed2ca2398088541a108440d75e6 (diff)
downloadnixpkgs-a55bf2b812463c992dad5f441efb8831dde10a0b.tar
nixpkgs-a55bf2b812463c992dad5f441efb8831dde10a0b.tar.gz
nixpkgs-a55bf2b812463c992dad5f441efb8831dde10a0b.tar.bz2
nixpkgs-a55bf2b812463c992dad5f441efb8831dde10a0b.tar.lz
nixpkgs-a55bf2b812463c992dad5f441efb8831dde10a0b.tar.xz
nixpkgs-a55bf2b812463c992dad5f441efb8831dde10a0b.tar.zst
nixpkgs-a55bf2b812463c992dad5f441efb8831dde10a0b.zip
codesearch: init at 20150617
Diffstat (limited to 'pkgs/tools/text/codesearch')
-rw-r--r--pkgs/tools/text/codesearch/default.nix26
-rw-r--r--pkgs/tools/text/codesearch/deps.nix3
2 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/tools/text/codesearch/default.nix b/pkgs/tools/text/codesearch/default.nix
new file mode 100644
index 00000000000..ccb3f1d9ed9
--- /dev/null
+++ b/pkgs/tools/text/codesearch/default.nix
@@ -0,0 +1,26 @@
+# This file was generated by go2nix.
+{ stdenv, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
+
+buildGoPackage rec {
+  name = "codesearch-${version}";
+  version = "20150617-${stdenv.lib.strings.substring 0 7 rev}";
+  rev = "a45d81b686e85d01f2838439deaf72126ccd5a96";
+
+  goPackagePath = "github.com/google/codesearch";
+
+  src = fetchgit {
+    inherit rev;
+    url = "https://github.com/google/codesearch";
+    sha256 = "12bv3yz0l3bmsxbasfgv7scm9j719ch6pmlspv4bd4ix7wjpyhny";
+  };
+
+  goDeps = ./deps.nix;
+
+  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;
+  };
+}
diff --git a/pkgs/tools/text/codesearch/deps.nix b/pkgs/tools/text/codesearch/deps.nix
new file mode 100644
index 00000000000..2d1dad70634
--- /dev/null
+++ b/pkgs/tools/text/codesearch/deps.nix
@@ -0,0 +1,3 @@
+# This file was generated by go2nix.
+[
+]