mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
27 lines
757 B
Nix
27 lines
757 B
Nix
# This file was generated by go2nix.
|
|
{ stdenv, buildGoPackage, fetchgit }:
|
|
|
|
buildGoPackage rec {
|
|
pname = "codesearch";
|
|
version = "20150717-${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;
|
|
};
|
|
}
|