@@ -0,0 +1,26 @@
1+# This file was generated by go2nix.
2+{ stdenv, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
3+
4+buildGoPackage rec {
5+ name = "codesearch-${version}";
6+ version = "20150617-${stdenv.lib.strings.substring 0 7 rev}";
7+ rev = "a45d81b686e85d01f2838439deaf72126ccd5a96";
8+
9+ goPackagePath = "github.com/google/codesearch";
10+
11+ src = fetchgit {
12+ inherit rev;
13+ url = "https://github.com/google/codesearch";
14+ sha256 = "12bv3yz0l3bmsxbasfgv7scm9j719ch6pmlspv4bd4ix7wjpyhny";
15+ };
16+
17+ goDeps = ./deps.nix;
18+
19+ meta = {
20+ description = "Fast, indexed regexp search over large file trees";
21+ homepage = "https://github.com/google/codesearch";
22+ license = [ stdenv.lib.licenses.bsd3 ];
23+ maintainers = [ stdenv.lib.maintainers.bennofs ];
24+ platforms = stdenv.lib.platforms.unix;
25+ };
26+}