You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
nixpkgs/pkgs/top-level/go-packages.nix

4168 lines
126 KiB

/* This file defines the composition for Go packages. */
{ overrides, stdenv, go, buildGoPackage, git
, fetchgit, fetchhg, fetchurl, fetchFromGitHub, fetchFromBitbucket, fetchbzr, pkgs }:
let
isGo14 = go.meta.branch == "1.4";
isGo15 = go.meta.branch == "1.5";
isGo16 = go.meta.branch == "1.6";
self = _self // overrides; _self = with self; {
inherit go buildGoPackage;
buildFromGitHub = { rev, version ? null, owner, repo, sha256, name ? repo, goPackagePath ? "github.com/${owner}/${repo}", ... }@args: buildGoPackage (args // {
inherit rev goPackagePath;
name = "${name}-${if version != null then version else if builtins.stringLength rev != 40 then rev else stdenv.lib.strings.substring 0 7 rev}";
src = fetchFromGitHub { inherit rev owner repo sha256; };
});
## OFFICIAL GO PACKAGES
crypto = buildFromGitHub {
rev = "575fdbe86e5dd89229707ebec0575ce7d088a4a6";
version = "2015-08-29";
owner = "golang";
repo = "crypto";
sha256 = "1kgv1mkw9y404pk3lcwbs0vgl133mwyp294i18jg9hp10s5d56xa";
goPackagePath = "golang.org/x/crypto";
goPackageAliases = [
"code.google.com/p/go.crypto"
"github.com/golang/crypto"
];
};
glog = buildFromGitHub {
rev = "fca8c8854093a154ff1eb580aae10276ad6b1b5f";
version = "2015-07-31";
owner = "golang";
repo = "glog";
sha256 = "1nr2q0vas0a2f395f4shjxqpas18mjsf8yhgndsav7svngpbbpg8";
};
codesearch = buildFromGitHub {
rev = "a45d81b686e85d01f2838439deaf72126ccd5a96";
version = "2015-06-17";
owner = "google";
repo = "codesearch";
sha256 = "12bv3yz0l3bmsxbasfgv7scm9j719ch6pmlspv4bd4ix7wjpyhny";
};
image = buildFromGitHub {
rev = "8ab1ac6834edd43d91cbe24272897a87ce7e835e";
version = "2015-08-23";
owner = "golang";
repo = "image";
sha256 = "1ckr7yh5dx2kbvp9mis7i090ss9qcz46sazrj9f2hw4jj5g3y7dr";
goPackagePath = "golang.org/x/image";
goPackageAliases = [ "github.com/golang/image" ];
};
net_go15 = buildFromGitHub {
rev = "62ac18b461605b4be188bbc7300e9aa2bc836cd4";
version = "2015-11-04";
owner = "golang";
repo = "net";
sha256 = "0lwwvbbwbf3yshxkfhn6z20gd45dkvnmw2ms36diiy34krgy402p";
goPackagePath = "golang.org/x/net";
goPackageAliases = [
"code.google.com/p/go.net"
"github.com/hashicorp/go.net"
"github.com/golang/net"
];
propagatedBuildInputs = [ text crypto ];
disabled = isGo14;
};
net_go14 = buildFromGitHub {
rev = "ea47fc708ee3e20177f3ca3716217c4ab75942cb";
version = "2015-08-29";
owner = "golang";
repo = "net";
sha256 = "0x1pmg97n7l62vak9qnjdjrrfl98jydhv6j0w3jkk4dycdlzn30d";
goPackagePath = "golang.org/x/net";
goPackageAliases = [
"code.google.com/p/go.net"
"github.com/hashicorp/go.net"
"github.com/golang/net"
];
propagatedBuildInputs = [ text ];
disabled = !isGo14;
};
net = if isGo14 then net_go14 else net_go15;
oauth2 = buildFromGitHub {
rev = "397fe7649477ff2e8ced8fc0b2696f781e53745a";
version = "2015-06-23";
owner = "golang";
repo = "oauth2";
sha256 = "0fza0l7iwh6llkq2yzqn7dxi138vab0da64lnghfj1p71fprjzn8";
goPackagePath = "golang.org/x/oauth2";
goPackageAliases = [ "github.com/golang/oauth2" ];
propagatedBuildInputs = [ net gcloud-golang-compute-metadata ];
};
protobuf = buildFromGitHub {
rev = "59b73b37c1e45995477aae817e4a653c89a858db";
version = "2015-08-23";
owner = "golang";
repo = "protobuf";
sha256 = "1dx22jvhvj34ivpr7gw01fncg9yyx35mbpal4mpgnqka7ajmgjsa";
goPackagePath = "github.com/golang/protobuf";
goPackageAliases = [ "code.google.com/p/goprotobuf" ];
};
snappy = buildFromGitHub {
rev = "723cc1e459b8eea2dea4583200fd60757d40097a";
version = "2015-07-21";
owner = "golang";
repo = "snappy";
sha256 = "0bprq0qb46f5511b5scrdqqzskqqi2z8b4yh3216rv0n1crx536h";
goPackageAliases = [ "code.google.com/p/snappy-go/snappy" ];
};
sys = buildFromGitHub {
rev = "d9157a9621b69ad1d8d77a1933590c416593f24f";
version = "2015-02-01";
owner = "golang";
repo = "sys";
sha256 = "1asdbp7rj1j1m1aar1a022wpcwbml6zih6cpbxaw7b2m8v8is931";
goPackagePath = "golang.org/x/sys";
goPackageAliases = [
"github.com/golang/sys"
];
};
text = buildFromGitHub {
rev = "5eb8d4684c4796dd36c74f6452f2c0fa6c79597e";
version = "2015-08-27";
owner = "golang";
repo = "text";
sha256 = "1cjwm2pv42dbfqc6ylr7jmma902zg4gng5aarqrbjf1k2nf2vs14";
goPackagePath = "golang.org/x/text";
goPackageAliases = [ "github.com/golang/text" ];
};
tools = buildFromGitHub {
rev = "9ae4729fba20b3533d829a9c6ba8195b068f2abc";
version = "2016-05-19";
owner = "golang";
repo = "tools";
sha256 = "1j51aaskfqc953p5s9naqimr04hzfijm4yczdsiway1xnnvvpfr1";
goPackagePath = "golang.org/x/tools";
goPackageAliases = [ "code.google.com/p/go.tools" ];
preConfigure = ''
# Make the builtin tools available here
mkdir -p $bin/bin
eval $(go env | grep GOTOOLDIR)
find $GOTOOLDIR -type f | while read x; do
ln -sv "$x" "$bin/bin"
done
export GOTOOLDIR=$bin/bin
'';
excludedPackages = "\\("
+ stdenv.lib.concatStringsSep "\\|" ([ "testdata" ] ++ stdenv.lib.optionals (stdenv.lib.versionAtLeast go.meta.branch "1.5") [ "vet" "cover" ])
+ "\\)";
buildInputs = [ net ];
# Do not copy this without a good reason for enabling
# In this case tools is heavily coupled with go itself and embeds paths.
allowGoReference = true;
# Set GOTOOLDIR for derivations adding this to buildInputs
postInstall = ''
mkdir -p $bin/nix-support
substituteAll ${../development/go-modules/tools/setup-hook.sh} $bin/nix-support/setup-hook.tmp
cat $bin/nix-support/setup-hook.tmp >> $bin/nix-support/setup-hook
rm $bin/nix-support/setup-hook.tmp
'';
};
## THIRD PARTY
ace = buildFromGitHub {
rev = "899eede6af0d99400b2c8886d86fd8d351074d37";
owner = "yosssi";
repo = "ace";
sha256 = "0xdzqfzaipyaa973j41yq9lbijw36kyaz523sw05kci4r5ivq4f5";
buildInputs = [ gohtml ];
};
acme = buildFromGitHub {
rev = "v0.3.0";
owner = "xenolf";
repo = "lego";
sha256 = "0hlnqdn793j4s43bhnmpi2lxgmjxs1ccg26alxnrcyw5x7p2vvdn";
subPackages = [ "acme" ];
propagatedBuildInputs = [ crypto dns go-jose-v1 net ];
};
adapted = buildFromGitHub {
rev = "0dd5fa34d6f9d74c7c0deed1fc224f9a87e02978";
version = "2016-04-10";
owner = "michaelmacinnis";
repo = "adapted";
sha256 = "16n3a87m33pqx4qih713q3gw2j6ksj1q3ngjax6bpn5b11rqvikv";
propagatedBuildInputs = [ sys ];
};
afero = buildFromGitHub {
rev = "90b5a9bd18a72dbf3e27160fc47acfaac6c08389";
owner = "spf13";
repo = "afero";
sha256 = "1xqvbwny61j85psymcs8hggmqyyg4yq3q4cssnvnvbsl3aq8kn4k";
propagatedBuildInputs = [ text ];
};
airbrake-go = buildFromGitHub {
rev = "5b5e269e1bc398d43f67e43dafff3414a59cd5a2";
owner = "tobi";
repo = "airbrake-go";
sha256 = "1bps4y3vpphpj63mshjg2aplh579cvqac0hz7qzvac0d1fqcgkdz";
};
amber = buildFromGitHub {
rev = "144da19a9994994c069f0693294a66dd310e14a4";
owner = "eknkc";
repo = "amber";
sha256 = "079wwdq4cn9i1vx5zik16z4bmghkc7zmmvbrp1q6y4cnpmq95rqk";
};
ansicolor = buildFromGitHub {
rev = "a5e2b567a4dd6cc74545b8a4f27c9d63b9e7735b";
owner = "shiena";
repo = "ansicolor";
sha256 = "0gwplb1b4fvav1vjf4b2dypy5rcp2w41vrbxkd1dsmac870cy75p";
};
archiver = buildFromGitHub {
rev = "85f054813ed511646b0ce5e047697e0651b8e1a4";
owner = "mholt";
repo = "archiver";
sha256 = "0b38mrfm3rwgdi7hrp4gjhf0y0f6bw73qjkfrkafxjrdpdg7nyly";
};
asmfmt = buildFromGitHub {
rev = "7971758b0c6584f67d745c62d006814ae7b44e9d";
owner = "klauspost";
repo = "asmfmt";
sha256 = "07i3f8jzs4yvfpm16s2c2hd65r3q729m0agg8q1i3lwbs3fimyj5";
buildInputs = [ tools goreturns ];
};
asn1-ber = buildGoPackage rec {
rev = "f4b6f4a84f5cde443d1925b5ec185ee93c2bdc72";
name = "asn1-ber-${stdenv.lib.strings.substring 0 7 rev}";
goPackagePath = "github.com/go-asn1-ber/asn1-ber";
goPackageAliases = [
"github.com/nmcclain/asn1-ber"
"github.com/vanackere/asn1-ber"
"gopkg.in/asn1-ber.v1"
];
src = fetchFromGitHub {
inherit rev;
owner = "go-asn1-ber";
repo = "asn1-ber";
sha256 = "0qdyax6yw3hvplzqc2ykpihi3m5y4nii581ay0mxy9c54bzs2nk9";
};
};
assertions = buildGoPackage rec {
version = "1.5.0";
name = "assertions-${version}";
goPackagePath = "github.com/smartystreets/assertions";
src = fetchurl {
name = "${name}.tar.gz";
url = "https://github.com/smartystreets/assertions/archive/${version}.tar.gz";
sha256 = "1s4b0v49yv7jmy4izn7grfqykjrg7zg79dg5hsqr3x40d5n7mk02";
};
buildInputs = [ oglematchers ];
propagatedBuildInputs = [ goconvey ];
doCheck = false;
};
astrotime = buildFromGitHub {
rev = "9c7d514efdb561775030eaf8f1a9ae6bddb3a2ca";
owner = "cpucycle";
repo = "astrotime";
sha256 = "024sc7g55v4s54irssm5wsn74sr2k2ynsm6z16w47q66cxhgvby1";
};
aws-sdk-go = buildFromGitHub {
rev = "d85fa529a99a833067e11c0a838b9db7a5d5ea71";
version = "1.1.24";
owner = "aws";
repo = "aws-sdk-go";
sha256 = "0lh3z3l551siqwrwvl9ky820ckpsvm8zpnb9p6622cnf6xkq533x";
goPackageAliases = [
"github.com/awslabs/aws-sdk-go"
];
buildInputs = [ gucumber testify ];
propagatedBuildInputs = [ ini go-jmespath tools];
};
azure-sdk-for-go = buildFromGitHub {
rev = "v2.0.0-beta";
owner = "Azure";
repo = "azure-sdk-for-go";
sha256 = "04bixwh4bzgysa79azis1p755rb6zxjjzhpskpvpmvkv49baharc";
propagatedBuildInputs = [ go-autorest cli-go ];
};
azure-vhd-tools-for-go = buildFromGitHub {
rev = "7db4795475aeab95590f8643969e06b633ead4ec";
owner = "Microsoft";
repo = "azure-vhd-utils-for-go";
sha256 = "0xg6a1qw8jjxqhgvy9zlvq5b8xnnvfkjnkjz9f8g4y1kcw09lird";
propagatedBuildInputs = [ azure-sdk-for-go ];
};
hashicorp.aws-sdk-go = buildFromGitHub {
rev = "e6ea0192eee4640f32ec73c0cbb71f63e4f2b65a";
owner = "hashicorp";
repo = "aws-sdk-go";
sha256 = "1qrc2jl38marbarnl31sag7s0h18j2wx1cxkcqin5m1pqg62p4cn";
propagatedBuildInputs = [ go-ini ];
subPackages = [
"./aws"
"./gen/ec2"
"./gen/endpoints"
"./gen/iam"
];
};
bleve = buildFromGitHub {
rev = "fc34a97875840b2ae24517e7d746b69bdae9be90";
version = "2016-01-19";
owner = "blevesearch";
repo = "bleve";
sha256 = "0ny7nvilrxmmzcdvpivwyrjkynnhc22c5gdrxzs421jly35jw8jx";
buildFlags = [ "-tags all" ];
propagatedBuildInputs = [ protobuf goleveldb kagome gtreap bolt text
rcrowley.go-metrics bitset segment go-porterstemmer ];
};
binarydist = buildFromGitHub {
rev = "9955b0ab8708602d411341e55fffd7e0700f86bd";
owner = "kr";
repo = "binarydist";
sha256 = "11wncbbbrdcxl5ff3h6w8vqfg4bxsf8709mh6vda0cv236flkyn3";
};
bitset = buildFromGitHub {
rev = "bb0da3785c4fe9d26f6029c77c8fce2aa4d0b291";
version = "2016-01-13";
owner = "willf";
repo = "bitset";
sha256 = "1d4z2hjjs9jk6aysi4mf50p8lbbzag4ir4y1f0z4sz8gkwagh7b7";
};
blackfriday = buildFromGitHub {
rev = "d18b67ae0afd61dae240896eae1785f00709aa31";
owner = "russross";
repo = "blackfriday";
sha256 = "1l78hz8k1ixry5fjw29834jz1q5ysjcpf6kx2ggjj1s6xh0bfzvf";
propagatedBuildInputs = [ sanitized_anchor_name ];
};
bolt = buildFromGitHub {
rev = "957d850b5158a4eebf915476058e720f43459584";
owner = "boltdb";
repo = "bolt";
sha256 = "193adhhsqdy0kyq1l1fi8pg2n6pwyrw4h607qm78qyi26f8i7vzf";
};
bufio = buildFromGitHub {
rev = "24e7e48f60fc2d9e99e43c07485d9fff42051e66";
owner = "vmihailenco";
repo = "bufio";
sha256 = "0x46qnf2f15v7m0j2dcb16raxjamk5rdc7hqwgyxfr1sqmmw3983";
};
bugsnag-go = buildGoPackage rec {
rev = "v1.0.3";
name = "bugsnag-go-${rev}";
goPackagePath = "github.com/bugsnag/bugsnag-go";
src = fetchFromGitHub {
inherit rev;
owner = "bugsnag";
repo = "bugsnag-go";
sha256 = "1ymi5hrvd2nyfwfd12xll43gn00ii3bjb5ma9dfhaaxv2asi3ajx";
};
propagatedBuildInputs = [ panicwrap revel ];
};
caddy = buildFromGitHub {
rev = "e2234497b79603388b58ba226abb157aa4aaf065";
version = "v0.8.3";
owner = "mholt";
repo = "caddy";
sha256 = "1snijkbz02yr7wij7bcmrj4257709sbklb3nhb5qmy95b9ssffm6";
buildInputs = [
acme archiver blackfriday crypto go-humanize go-shlex go-syslog
http-authentication lumberjack-v2 toml websocket yaml-v2
];
disabled = isGo14 || isGo15;
};
cascadia = buildGoPackage rec {
rev = "54abbbf07a45a3ef346ebe903e0715d9a3c19352"; #master
name = "cascadia-${stdenv.lib.strings.substring 0 7 rev}";
goPackagePath = "github.com/andybalholm/cascadia";
goPackageAliases = [ "code.google.com/p/cascadia" ];
propagatedBuildInputs = [ net ];
buildInputs = propagatedBuildInputs;
doCheck = true;
src = fetchFromGitHub {
inherit rev;
owner = "andybalholm";
repo = "cascadia";
sha256 = "1z21w6p5bp7mi2pvicvcqc871k9s8a6262pkwyjm2qfc859c203m";
};
};
cast = buildFromGitHub {
rev = "ee815aaf958c707ad07547cd62150d973710f747";
owner = "spf13";
repo = "cast";
sha256 = "144xwvmjbrv59zjj1gnq5j9qpy62dgyfamxg5l3smdwfwa8vpf5i";
buildInputs = [ jwalterweatherman ];
};
check-v1 = buildGoPackage rec {
rev = "871360013c92e1c715c2de6d06b54899468a8a2d";
name = "check-v1-${stdenv.lib.strings.substring 0 7 rev}";
goPackagePath = "gopkg.in/check.v1";
src = fetchgit {
inherit rev;
url = "https://github.com/go-check/check.git";
sha256 = "1qhji81yxz3map937bf8lyp8j2qpwlbnag5pr5pf0qw3li2nciah";
};
};
circbuf = buildFromGitHub {
rev = "f092b4f207b6e5cce0569056fba9e1a2735cb6cf";
owner = "armon";
repo = "circbuf";
sha256 = "06kwwdwa3hskdh6ws7clj1vim80dyc3ldim8k9y5qpd30x0avn5s";
};
cli = buildFromGitHub {
rev = "8102d0ed5ea2709ade1243798785888175f6e415";
owner = "mitchellh";
repo = "cli";
sha256 = "08mj1l94pww72jy34gk9a483hpic0rrackskfw13r3ycy997w7m2";
propagatedBuildInputs = [ crypto ];
};
cli-spinner = buildFromGitHub {
rev = "610063bb4aeef25f7645b3e6080456655ec0fb33";
owner = "odeke-em";
repo = "cli-spinner";
sha256 = "13wzs2qrxd72ah32ym0ppswhvyimjw5cqaq3q153y68vlvxd048c";
};
cobra = buildFromGitHub {
rev = "ee6224d01f6a83f543ae90f881b703cf195782ba";
owner = "spf13";
repo = "cobra";
sha256 = "0skmq1lmkh2xzl731a2sfcnl2xbcy9v1050pcf10dahwqzsbx6ij";
propagatedBuildInputs = [ pflag-spf13 mousetrap go-md2man viper ];
};
cli-go = buildFromGitHub {
rev = "71f57d300dd6a780ac1856c005c4b518cfd498ec";
owner = "codegangsta";
repo = "cli";
sha256 = "1fxznirkvank5461789dm5aw5z8aqi0jvwligvz44659rfl376p3";
propagatedBuildInputs = [ yaml-v2 ];
};
columnize = buildFromGitHub {
rev = "44cb4788b2ec3c3d158dd3d1b50aba7d66f4b59a";
owner = "ryanuber";
repo = "columnize";
sha256 = "1qrqr76cw58x2hkjic6h88na5ihgvkmp8mqapj8kmjcjzdxkzhr9";
};
command = buildFromGitHub {
rev = "91ca5ec5e9a1bc2668b1ccbe0967e04a349e3561";
owner = "odeke-em";
repo = "command";
sha256 = "1ghckzr8h99ckagpmb15p61xazdjmf9mjmlym634hsr9vcj84v62";
};
copystructure = buildFromGitHub {
rev = "6fc66267e9da7d155a9d3bd489e00dad02666dc6";
owner = "mitchellh";
repo = "copystructure";
sha256 = "193s5vhw68d8npjyf5yvc5j24crazvy7d5dk316hl7590qrmbxrd";
buildInputs = [ reflectwalk ];
};
confd = buildGoPackage rec {
rev = "v0.9.0";
name = "confd-${rev}";
goPackagePath = "github.com/kelseyhightower/confd";
preBuild = "export GOPATH=$GOPATH:$NIX_BUILD_TOP/go/src/${goPackagePath}/Godeps/_workspace";
src = fetchFromGitHub {
inherit rev;
owner = "kelseyhightower";
repo = "confd";
sha256 = "0rz533575hdcln8ciqaz79wbnga3czj243g7fz8869db6sa7jwlr";
};
subPackages = [ "./" ];
};
config = buildFromGitHub {
rev = "0f78529c8c7e3e9a25f15876532ecbc07c7d99e6";
owner = "robfig";
repo = "config";
sha256 = "0xmxy8ay0wzd307x7xba3rmigvr6rjlpfk9fmn6ir2nc97ifv3i0";
};
consul = buildFromGitHub {
rev = "v0.6.4";
owner = "hashicorp";
repo = "consul";
sha256 = "0p6m2rl0d30w418n4fzc4vymqs3vzfa468czmy4znkjmxdl5vp5a";
buildInputs = [
circbuf armon.go-metrics go-radix gomdb bolt consul-migrate go-checkpoint
ugorji.go go-multierror go-syslog golang-lru hcl logutils memberlist
net-rpc-msgpackrpc raft raft-boltdb raft-mdb scada-client serf yamux
muxado dns cli mapstructure columnize crypto
];
# Keep consul.ui for backward compatability
passthru.ui = pkgs.consul-ui;
};
consul-api = buildFromGitHub {
inherit (consul) rev owner repo sha256;
subPackages = [ "api" ];
};
consul-alerts = buildFromGitHub {
rev = "v0.3.3";
owner = "AcalephStorage";
repo = "consul-alerts";
sha256 = "1w0mb20w1yazyh84sa30bsw271c5nm7lsx2qg0g3gf6mxdb63lpq";
renameImports = ''
# Remove all references to included dependency store
rm -rf go/src/github.com/AcalephStorage/consul-alerts/Godeps
govers -d -m github.com/AcalephStorage/consul-alerts/Godeps/_workspace/src/ ""
'';
# Temporary fix for name change
postPatch = ''
sed -i 's,SetApiKey,SetAPIKey,' notifier/opsgenie-notifier.go
'';
buildInputs = [ logrus docopt-go hipchat-go gopherduty consul-api opsgenie-go-sdk influxdb8-client ];
};
consul-migrate = buildFromGitHub {
rev = "678fb10cdeae25ab309e99e655148f0bf65f9710";
version = "2015-05-19";
owner = "hashicorp";
repo = "consul-migrate";
sha256 = "18zqyzbc3pny700fnh4hi45i5mlsramqykikcr7lgyx7id6alf16";
buildInputs = [ raft raft-boltdb raft-mdb ];
};
consul-template = buildGoPackage rec {
rev = "v0.14.0";
name = "consul-template-${rev}";
goPackagePath = "github.com/hashicorp/consul-template";
src = fetchFromGitHub {
inherit rev;
owner = "hashicorp";
repo = "consul-template";
sha256 = "15zsax44g3dwjmmm4fpb54mvsjvjf3b6g3ijskgipvhcy0d3j938";
};
# We just want the consul api not all of consul and vault
extraSrcs = [
{ inherit (consul) src goPackagePath; }
{ inherit (vault) src goPackagePath; }
];
buildInputs = [ go-multierror go-syslog hcl logutils mapstructure pkgs.zip ];
};
context = buildGoPackage rec {
rev = "215affda49addc4c8ef7e2534915df2c8c35c6cd";
name = "config-${stdenv.lib.strings.substring 0 7 rev}";
goPackagePath = "github.com/gorilla/context";
src = fetchFromGitHub {
inherit rev;
owner = "gorilla";
repo = "context";
sha256 = "1ybvjknncyx1f112mv28870n0l7yrymsr0861vzw10gc4yn1h97g";
};
};
cookoo = buildFromGitHub {
rev = "v1.2.0";
owner = "Masterminds";
repo = "cookoo";
sha256 = "1mxqnxddny43k1shsvd39sfzfs0d20gv3vm9lcjp04g3b0rplck1";
};
crypt = buildFromGitHub {
rev = "749e360c8f236773f28fc6d3ddfce4a470795227";
owner = "xordataexchange";
repo = "crypt";
sha256 = "17g9122b8bmbdpshyzhl7cxsp0nvhk0rc6syc92djavggmbpl6ig";
preBuild = ''
substituteInPlace go/src/github.com/xordataexchange/crypt/backend/consul/consul.go \
--replace 'github.com/armon/consul-api' 'github.com/hashicorp/consul/api' \
--replace 'consulapi' 'api'
'';
propagatedBuildInputs = [ go-etcd consul-api crypto ];
};
cssmin = buildFromGitHub {
rev = "fb8d9b44afdc258bfff6052d3667521babcb2239";
owner = "dchest";
repo = "cssmin";
sha256 = "09sdijfx5d05z4cd5k6lhl7k3kbpdf2amzlngv15h5v0fff9qw4s";
};
dbus-old-2015-05-19 = buildFromGitHub {
rev = "a5942dec6340eb0d57f43f2003c190ce06e43dea";
version = "2015-05-19";
owner = "godbus";
repo = "dbus";
sha256 = "1vk31wal7ncvjwvnb8q1myrkihv1np46f3q8dndi5k0csflbxxdf";
};
dbus = buildFromGitHub {
rev = "230e4b23db2fd81c53eaa0073f76659d4849ce51";
version = "2016-03-02";
owner = "godbus";
repo = "dbus";
sha256 = "1wxv2cbihzcsz2z7iycyzl7f3arhhgagcc5kqln1k1mkm4l85z0q";
};
dns = buildFromGitHub {
rev = "7e024ce8ce18b21b475ac6baf8fa3c42536bf2fa";
version = "2016-03-28";
owner = "miekg";
repo = "dns";
sha256 = "0hlwb52lnnj3c6papjk9i5w5cjdw6r7c891v4xksnfvk1f9cy9kl";
};
docopt-go = buildFromGitHub {
rev = "854c423c810880e30b9fecdabb12d54f4a92f9bb";
owner = "docopt";
repo = "docopt-go";
sha256 = "1sddkxgl1pwlipfvmv14h8vg9b9wq1km427j1gjarhb5yfqhh3l1";
};
docker.docker = buildFromGitHub {
rev = "cb87b6eb6a955e5a66b17e0a15557f37f76b85c0";
version = "2016-04-14";
owner = "docker";
repo = "docker";
sha256 = "1hkah4scs8a589jhp82kw5wcx21nhq41asfq8icwy6bzdz1bq0j0";
buildInputs = [ docker.go-units ];
subPackages = [ "pkg/term" "pkg/symlink" "pkg/system" "pkg/mount" ];
};
docker.go-units = buildFromGitHub {
rev = "5d2041e26a699eaca682e2ea41c8f891e1060444";
version = "2016-01-25";
owner = "docker";
repo = "go-units";
sha256 = "0hn8xdbaykp046inc4d2mwig5ir89ighma8hk18dfkm8rh1vvr8i";
};
drive = buildFromGitHub {
rev = "6dc2f1e83032ea3911fa6147b846ee93f18dc544";
owner = "odeke-em";
repo = "drive";
sha256 = "07s4nhfcr6vznf1amvl3a4wq2hn9zq871rcppfi4i6zs7iw2ay1v";
subPackages = [ "cmd/drive" ];
buildInputs = [
pb go-isatty command dts odeke-em.log statos xon odeke-em.google-api-go-client
cli-spinner oauth2 text net pretty-words meddler open-golang extractor
exponential-backoff cache bolt
];
disabled = !isGo14;
};
dropbox = buildFromGitHub {
rev = "58f839b21094d5e0af7caf613599830589233d20";
owner = "stacktic";
repo = "dropbox";
sha256 = "1psmxpnn40ri9bgjvivljnd4p977f635mh3w7m5mglxxgc9392pi";
propagatedBuildInputs = [ oauth2 net ];
};
cache = buildFromGitHub {
rev = "b51b08cb6cf889deda6c941a5205baecfd16f3eb";
owner = "odeke-em";
repo = "cache";
sha256 = "1rmm1ky7irqypqjkk6qcd2n0xkzpaggdxql9dp9i9qci5rvvwwd4";
};
ethereum = buildFromGitHub rec {
name = "ethereum";
rev = "v1.4.1";
goPackagePath = "github.com/ethereum/go-ethereum";
owner = "ethereum";
repo = "go-ethereum";
sha256 = "0z6yzkk72g41dzqa52fizxqxqh349y1m9s3byfh9ixq5xy5fnjn3";
preBuild = "export GOPATH=$GOPATH:$NIX_BUILD_TOP/go/src/${goPackagePath}/Godeps/_workspace";
postBuild = "rm $NIX_BUILD_TOP/go/bin/*test";
meta = with stdenv.lib; {
homepage = "https://ethereum.github.io/go-ethereum/";
description = "Official golang implementation of the Ethereum protocol";
license = with licenses; [ lgpl3 gpl3 ];
};
};
ewma = buildFromGitHub {
rev = "2f8aa9741ab4b5b80945c750b871131b88ef5b7f";
version = "1.0";
owner = "VividCortex";
repo = "ewma";
sha256 = "0g1pv0zyjkriqmwc8iqv437j0f450sk8g48jycmv78ziwy7wf92h";
};
exercism = buildFromGitHub {
rev = "v2.2.1";
name = "exercism";
owner = "exercism";
repo = "cli";
sha256 = "13kwcxd7m3xv42j50nlm9dd08865dxji41glfvnb4wwq9yicyn4g";
buildInputs = [ net cli-go osext ];
};
exponential-backoff = buildFromGitHub {
rev = "96e25d36ae36ad09ac02cbfe653b44c4043a8e09";
owner = "odeke-em";
repo = "exponential-backoff";
sha256 = "1as21p2jj8xpahvdxqwsw2i1s3fll14dlc9j192iq7xl1ybwpqs6";
};
extractor = buildFromGitHub {
rev = "801861aedb854c7ac5e1329e9713023e9dc2b4d4";
owner = "odeke-em";
repo = "extractor";
sha256 = "036zmnqxy48h6mxiwywgxix2p4fqvl4svlmcp734ri2rbq3cmxs1";
};
open-golang = buildFromGitHub {
rev = "c8748311a7528d0ba7330d302adbc5a677ef9c9e";
owner = "skratchdot";
repo = "open-golang";
sha256 = "0qhn2d00v3m9fiqk9z7swdm599clc6j7rnli983s8s1byyp0x3ac";
};
pretty-words = buildFromGitHub {
rev = "9d37a7fcb4ae6f94b288d371938482994458cecb";
owner = "odeke-em";
repo = "pretty-words";
sha256 = "1466wjhrg9lhqmzil1vf8qj16fxk32b5kxlcccyw2x6dybqa6pkl";
};
meddler = buildFromGitHub {
rev = "d2b51d2b40e786ab5f810d85e65b96404cf33570";
owner = "odeke-em";
repo = "meddler";
sha256 = "0m0fqrn3kxy4swyk4ja1y42dn1i35rq9j85y11wb222qppy2342x";
};
dts = buildFromGitHub {
rev = "ec2daabf2f9078e887405f7bcddb3d79cb65502d";
owner = "odeke-em";
repo = "dts";
sha256 = "0vq3cz4ab9vdsz9s0jjlp7z27w218jjabjzsh607ps4i8m5d441s";
};
du = buildFromGitHub {
rev = "3c0690cca16228b97741327b1b6781397afbdb24";
version = "2015-08-05";
owner = "calmh";
repo = "du";
sha256 = "1mv6mkbslfc8giv47kyl97ny0igb3l7jya5hc75sm54xi6g205wa";
};
ed25519 = buildGoPackage rec {
rev = "d2b94fd789ea21d12fac1a4443dd3a3f79cda72c";
name = "ed25519-${stdenv.lib.strings.substring 0 7 rev}";
goPackagePath = "github.com/agl/ed25519";
src = fetchgit {
inherit rev;
url = "git://${goPackagePath}.git";
sha256 = "83e3010509805d1d315c7aa85a356fda69d91b51ff99ed98a503d63adb3613e9";
};
};
errcheck = buildFromGitHub {
rev = "8e25ad9d46f6c5d4e994edf82c57eb773a9aa73d";
owner = "kisielk";
repo = "errcheck";
sha256 = "1089qf05q8db8h6ayn1c1iaq4fcpv18z3k94dr27v31k6f73dzhg";
excludedPackages = [ "testdata" ];
buildInputs = [ gotool tools ];
};
errwrap = buildFromGitHub {
rev = "7554cd9344cec97297fa6649b055a8c98c2a1e55";
owner = "hashicorp";
repo = "errwrap";
sha256 = "0kmv0p605di6jc8i1778qzass18m0mv9ks9vxxrfsiwcp4la82jf";
};
etcd = buildFromGitHub {
rev = "v2.3.0";
owner = "coreos";
repo = "etcd";
sha256 = "1cchlhsdbbqal145cvdiq7rzqqi131iq7z0r2hmzwx414k04wyn7";
buildInputs = [ pkgs.libpcap tablewriter ];
};
fsnotify.v0 = buildGoPackage rec {
rev = "v0.9.3";
name = "fsnotify.v0-${rev}";
goPackagePath = "gopkg.in/fsnotify.v0";
goPackageAliases = [ "github.com/howeyc/fsnotify" ];
src = fetchFromGitHub {
inherit rev;
owner = "go-fsnotify";
repo = "fsnotify";
sha256 = "15wqjpkfzsxnaxbz6y4r91hw6812g3sc4ipagxw1bya9klbnkdc9";
};
};
fsnotify.v1 = buildGoPackage rec {
rev = "v1.2.0";
name = "fsnotify.v1-${rev}";
goPackagePath = "gopkg.in/fsnotify.v1";
src = fetchFromGitHub {
inherit rev;
owner = "go-fsnotify";
repo = "fsnotify";
sha256 = "1308z1by82fbymcra26wjzw7lpjy91kbpp2skmwqcq4q1iwwzvk2";
};
};
fsync = buildFromGitHub {
rev = "c2544e79b93fda5653255f907a30fba1c2ac2638";
owner = "spf13";
repo = "fsync";
sha256 = "0hzfk2f8pm756j10zgsk8b8gbfylcf8h6q4djz0ka9zpg76s26lz";
buildInputs = [ afero ];
};
g2s = buildFromGitHub {
rev = "ec76db4c1ac16400ac0e17ca9c4840e1d23da5dc";
owner = "peterbourgon";
repo = "g2s";
sha256 = "1p4p8755v2nrn54rik7yifpg9szyg44y5rpp0kryx4ycl72307rj";
};
gcloud-golang = buildFromGitHub {
rev = "6335269abf9002cf5a84613c13cda6010842b834";
owner = "GoogleCloudPlatform";
repo = "gcloud-golang";
sha256 = "15xrqxna5ms0r634k3bfzyymn431dvqcjwbsap8ay60x371kzbwf";
goPackagePath = "google.golang.org/cloud";
buildInputs = [ net oauth2 protobuf google-api-go-client grpc ];
excludedPackages = "oauth2";
meta.hydraPlatforms = [ ];
};
gcloud-golang-compute-metadata = buildGoPackage rec {
inherit (gcloud-golang) rev name goPackagePath src;
subPackages = [ "compute/metadata" ];
buildInputs = [ net ];
};
gettext-go = buildFromGitHub {
rev = "783c0fb3da95b06dd89c4ba2771f1dc289ecc27c";
owner = "chai2010";
repo = "gettext-go";
sha256 = "1iz4wjxc3zkj0xkfs88ig670gb08p1sd922l0ig2cxpjcfjp1y99";
};
gojsonpointer = buildFromGitHub {
rev = "e0fe6f68307607d540ed8eac07a342c33fa1b54a";
version = "2015-11-27";
owner = "xeipuuv";
repo = "gojsonpointer";
sha256 = "0yfbisaas3w3ygh0cvb82mj6c1f8adqmnwmyid8l5p12r55531f8";
};
gojsonreference = buildFromGitHub {
rev = "e02fc20de94c78484cd5ffb007f8af96be030a45";
version = "2015-08-08";
owner = "xeipuuv";
repo = "gojsonreference";
sha256 = "195in5zr3bhb3r1iins2h610kz339naj284b3839xmrhc15wqxzq";
propagatedBuildInputs = [ gojsonpointer ];
};
gojsonschema = buildFromGitHub {
rev = "93e72a773fade158921402d6a24c819b48aba29d";
version = "2016-03-23";
owner = "xeipuuv";
repo = "gojsonschema";
sha256 = "0hqpcy4xgm9xw16dxbs1skrh6ga60bwfjv5dyz5zh86xsxpln3nr";
propagatedBuildInputs = [ gojsonreference ];
};
gosexy.gettext = buildFromGitHub {
rev = "4a979356fe964fec12e18326a32a89661f93dea7";
version = "2016-02-20";
owner = "gosexy";
repo = "gettext";
sha256 = "07f3dmq4qsdykbn3fkha3v1w61hic6xw82dvdmvzhf0m41jxsgy6";
buildInputs = [ pkgs.gettext go-flags ];
};
ginkgo = buildGoPackage rec {
rev = "5ed93e443a4b7dfe9f5e95ca87e6082e503021d2";
name = "ginkgo-${stdenv.lib.strings.substring 0 7 rev}";
goPackagePath = "github.com/onsi/ginkgo";
src = fetchFromGitHub {
inherit rev;
owner = "onsi";
repo = "ginkgo";
sha256 = "0ghrx5qmgvgb8cbvsj53v1ir4j9agilg4wyhpk5ikqdv6mmqly4h";
};
subPackages = [ "./" ]; # don't try to build test fixtures
};
git-annex-remote-b2 = buildFromGitHub {
buildInputs = [ go go-backblaze ];
owner = "encryptio";
repo = "git-annex-remote-b2";
rev = "v0.2";
sha256 = "1139rzdvlj3hanqsccfinprvrzf4qjc5n4f0r21jp9j24yhjs6j2";
};
git-appraise = buildFromGitHub {
rev = "v0.3";
owner = "google";
repo = "git-appraise";
sha256 = "124hci9whsvlcywsfz5y20kkj3nhy176a1d5s1lkvsga09yxq6wm";
};
glide = buildFromGitHub {
rev = "0.10.2";
owner = "Masterminds";
repo = "glide";
sha256 = "1qb2n5i04gabb2snnwfr8wv4ypcp1pdzvgga62m9xkhk4p2w6pwl";
buildInputs = [ cookoo cli-go go-gypsy vcs ];
};
gls = buildFromGitHub {
rev = "9a4a02dbe491bef4bab3c24fd9f3087d6c4c6690";
owner = "jtolds";
repo = "gls";
sha256 = "1gvgkx7llklz6plapb95fcql7d34i6j7anlvksqhdirpja465jnm";
};
ugorji.go = buildGoPackage rec {
rev = "03e33114d4d60a1f37150325e15f51b0fa6fc4f6";
name = "ugorji-go-${stdenv.lib.strings.substring 0 7 rev}";
goPackagePath = "github.com/ugorji/go";
goPackageAliases = [ "github.com/hashicorp/go-msgpack" ];
src = fetchFromGitHub {
inherit rev;
owner = "ugorji";
repo = "go";
sha256 = "01kdzgx23cgb4k867m1pvsw14hhdr9jf2frqy6i4j4221055m57v";
};
};
goamz = buildGoPackage rec {
rev = "2a8fed5e89ab9e16210fc337d1aac780e8c7bbb7";
name = "goamz-${rev}";
goPackagePath = "github.com/goamz/goamz";
src = fetchFromGitHub {
inherit rev;
owner = "goamz";
repo = "goamz";
sha256 = "0rlinp0cvgw66qjndg4padr5s0wd3n7kjfggkx6czqj9bqaxcz4b";
};
propagatedBuildInputs = [ go-ini ];
# These might need propagating too, but I haven't tested the entire library
buildInputs = [ sets go-simplejson check-v1 ];
};
goautoneg = buildGoPackage rec {
rev = "75cd24fc2f2c2a2088577d12123ddee5f54e0675";
name = "goautoneg-${stdenv.lib.strings.substring 0 7 rev}";
goPackagePath = "bitbucket.org/ww/goautoneg";
src = fetchhg {
inherit rev;
url = "https://${goPackagePath}";
sha256 = "19khhn5xhqv1yp7d6k987gh5w5rhrjnp4p0c6fyrd8z6lzz5h9qi";
};
};
dgnorton.goback = buildFromGitHub {
rev = "a49ca3c0a18f50ae0b8a247e012db4385e516cf4";
owner = "dgnorton";
repo = "goback";
sha256 = "1nyg6sckwd0iafs9vcmgbga2k3hid2q0avhwj29qbdhj3l78xi47";
};
gocapability = buildFromGitHub {
rev = "2c00daeb6c3b45114c80ac44119e7b8801fdd852";
version = "2015-07-16";
owner = "syndtr";
repo = "gocapability";
sha256 = "1x7jdcg2r5pakjf20q7bdiidfmv7vcjiyg682186rkp2wz0yws0l";
};
goconfig = buildFromGitHub {
rev = "5f601ca6ef4d5cea8d52be2f8b3a420ee4b574a5";
version = "20160216";
owner = "Unknwon";
repo = "goconfig";
sha256 = "0kgmxvkkb8qa63k6wlm13c6dq203gb3lx1klhswx6cg0nfjp9z9j";
};
gocryptfs = buildFromGitHub {
rev = "v0.5";
owner = "rfjakob";
repo = "gocryptfs";
sha256 = "0jsdz8y7a1fkyrfwg6353c9r959qbqnmf2cjh57hp26w1za5bymd";
buildInputs = [ crypto go-fuse openssl-spacemonkey ];
};
gocheck = buildGoPackage rec {
rev = "87";
name = "gocheck-${rev}";
goPackagePath = "launchpad.net/gocheck";
src = fetchbzr {
inherit rev;
url = "https://${goPackagePath}";
sha256 = "1y9fa2mv61if51gpik9isls48idsdz87zkm1p3my7swjdix7fcl0";
};
};
gocql = buildFromGitHub {
rev = "53ea371a152ac188443fd3479f822ffecb0e9363";
owner = "gocql";
repo = "gocql";
sha256 = "0rqykhqgx7lrggcjyh053c3qddf130sgvsm27gndjv29rjrm874f";
propagatedBuildInputs = [ inf snappy groupcache ];
};
gocode = buildFromGitHub {
rev = "680a0fbae5119fb0dbea5dca1d89e02747a80de0";
version = "2015-09-03";
owner = "nsf";
repo = "gocode";
sha256 = "1ay2xakz4bcn8r3ylicbj753gjljvv4cj9l4wfly55cj1vjybjpv";
};
gocolorize = buildGoPackage rec {
rev = "v1.0.0";
name = "gocolorize-${rev}";
goPackagePath = "github.com/agtorre/gocolorize";
src = fetchFromGitHub {
inherit rev;
owner = "agtorre";
repo = "gocolorize";
sha256 = "1dj7s8bgw9qky344d0k9gz661c0m317a08a590184drw7m51hy9p";
};
};
goconvey = buildGoPackage rec {
version = "1.5.0";
name = "goconvey-${version}";
goPackagePath = "github.com/smartystreets/goconvey";
src = fetchurl {
name = "${name}.tar.gz";
url = "https://github.com/smartystreets/goconvey/archive/${version}.tar.gz";
sha256 = "0g3965cb8kg4kf9b0klx4pj9ycd7qwbw1jqjspy6i5d4ccd6mby4";
};
buildInputs = [ oglematchers ];
doCheck = false; # please check again
};
gohtml = buildFromGitHub {
rev = "ccf383eafddde21dfe37c6191343813822b30e6b";
owner = "yosssi";
repo = "gohtml";
sha256 = "1cghwgnx0zjdrqxzxw71riwiggd2rjs2i9p2ljhh76q3q3fd4s9f";
propagatedBuildInputs = [ net ];
};
gomdb = buildFromGitHub {
rev = "151f2e08ef45cb0e57d694b2562f351955dff572";
owner = "armon";
repo = "gomdb";
sha256 = "02wdhgfarmmwfbc75snd1dh6p9k9c1y2135apdm6mkr062qlxx61";
};
influx.gomdb = buildFromGitHub {
rev = "29fe330c5ab33c4e48470bd4b980bf522471190a";
owner = "influxdb";
repo = "gomdb";
sha256 = "0yg1jpr7lcaqh6i8n9wbs9r128kk541qjv06r9a6fp9vj56rqr3m";
};
gotool = buildFromGitHub {
rev = "58a7a198f2ec6ea7af221fd216e7f559d663ce02";
owner = "kisielk";
repo = "gotool";
sha256 = "1l1w4mczqmah0c154vb1daw5l3cc7vn5gmy5s67p3ad1lnz5l79x";
};
gotty = buildFromGitHub {
rev = "v0.0.10";
owner = "yudai";
repo = "gotty";
sha256 = "0gvnbr61d5si06ik2j075jg00r9b94ryfgg06nqxkf10dp8lgi09";
buildInputs = [ cli-go go manners go-bindata-assetfs go-multierror structs websocket hcl pty ];
meta = with stdenv.lib; {
description = "Share your terminal as a web application";
homepage = "https://github.com/yudai/gotty";
maintainers = with maintainers; [ matthiasbeyer ];
license = licenses.mit;
};
};
govers = buildFromGitHub {
rev = "3b5f175f65d601d06f48d78fcbdb0add633565b9";
version = "2015-01-09";
owner = "rogpeppe";
repo = "govers";
sha256 = "0din5a7nff6hpc4wg0yad2nwbgy4q1qaazxl8ni49lkkr4hyp8pc";
dontRenameImports = true;
};
golang-lru = buildFromGitHub {
rev = "7f9ef20a0256f494e24126014135cf893ab71e9e";
owner = "hashicorp";
repo = "golang-lru";
sha256 = "165x0p8plr3fwn4r1d11m3pxa3r8dhyk98z7x6ah35lf63jm2cwv";
};
golang-petname = buildFromGitHub {
rev = "13f8b3a4326b9a6579358543cffe82713c1d6ce4";
owner = "dustinkirkland";
repo = "golang-petname";
sha256 = "1xx6lpv1r2sji8m9w35a2fkr9v4vsgvxrrahcq9bdg75qvadq91d";
};
golang_protobuf_extensions = buildFromGitHub {
rev = "fc2b8d3a73c4867e51861bbdd5ae3c1f0869dd6a";
version = "2015-04-06";
owner = "matttproud";
repo = "golang_protobuf_extensions";
sha256 = "0ajg41h6402big484drvm72wvid1af2sffw0qkzbmpy04lq68ahj";
buildInputs = [ protobuf ];
};
goleveldb = buildFromGitHub {
rev = "1a9d62f03ea92815b46fcaab357cfd4df264b1a0";
version = "2015-08-19";
owner = "syndtr";
repo = "goleveldb";
sha256 = "04ywbif36fiah4fw0x2abr5q3p4fdhi6q57d5icc2mz03q889vhb";
propagatedBuildInputs = [ ginkgo gomega snappy ];
};
gollectd = buildFromGitHub {
rev = "cf6dec97343244b5d8a5485463675d42f574aa2d";
owner = "kimor79";
repo = "gollectd";
sha256 = "1f3ml406cprzjc192csyr2af4wcadkc74kg8n4c0zdzglxxfsqxa";
};
gomega = buildFromGitHub {
rev = "8adf9e1730c55cdc590de7d49766cb2acc88d8f2";
owner = "onsi";
repo = "gomega";
sha256 = "1rf6cxn50d1pji3pv4q372s395r5nxwcgp405z2r2mfdkri4v3w4";
};
gomemcache = buildFromGitHub {
rev = "72a68649ba712ee7c4b5b4a943a626bcd7d90eb8";
owner = "bradfitz";
repo = "gomemcache";
sha256 = "1r8fpzwhakq8fsppc33n4iivq1pz47xhs0h6bv4x5qiip5mswwvg";
};
gometalinter = buildFromGitHub {
rev = "be87b7414dc44dbea2fee33ccb8bd8a859ebcaf1";
owner = "alecthomas";
repo = "gometalinter";
sha256 = "05n852kf11gq5k7b4h6kz85z99qfa46dy6b6fqkg9xfk2bmvdxms";
buildInputs = [ shlex kingpin testify ];
};
google-api-go-client = buildFromGitHub {
rev = "a5c3e2a4792aff40e59840d9ecdff0542a202a80";
version = "2015-08-19";
owner = "google";
repo = "google-api-go-client";
sha256 = "1kigddnbyrl9ddpj5rs8njvf1ck54ipi4q1282k0d6b3am5qfbj8";
goPackagePath = "google.golang.org/api";
goPackageAliases = [ "github.com/google/google-api-client" ];
buildInputs = [ net ];
};
gore = buildFromGitHub {
rev = "v0.2.5";
owner = "motemen";
repo = "gore";
sha256 = "1kg14ps6yw0715rlbcfk1bmrszzgsqgb0r2p3ra1qwxbhj1jd44y";
buildInputs = [ go-homedir go-quickfix liner tools pkgs.makeWrapper ];
# Gore is a Go REPL, so it needs to be able to use the Go compiler.
allowGoReference = true;
# Gore seems to only work with Go 1.5. Not sure if it doesn't support
# other versions or if I just haven't figured out how to get them working.
disabled = !isGo15;
postInstall = ''
mkdir -p $out/bin
cp $NIX_BUILD_TOP/go/bin/gore $out/bin
wrapProgram $out/bin/gore --set GOROOT ${self.go}/share/go
'';
meta = with stdenv.lib; {
homepage = "https://github.com/motemen/gore";
description = "Yet another Go REPL that works nicely. Featured with line editing, code completion, and more.";
license = licenses.mit;
};
};
goreturns = buildFromGitHub {
rev = "b368f1f77f2950c753e05a6a29acfc487fa7a959";
owner = "sqs";
repo = "goreturns";
sha256 = "0qllmcvg3xd43pymn24zrjn7vb39zj83ayq3sg7kzgxvba0ylb05";
goPackagePath = "sourcegraph.com/sqs/goreturns";
buildInputs = [ tools ];
};
odeke-em.google-api-go-client = buildGoPackage rec {
rev = "30f4c144b02321ebbc712f35dc95c3e72a5a7fdc";
name = "odeke-em-google-api-go-client-${stdenv.lib.strings.substring 0 7 rev}";
goPackagePath = "github.com/odeke-em/google-api-go-client";
src = fetchFromGitHub {
inherit rev;
owner = "odeke-em";
repo = "google-api-go-client";
sha256 = "1fidlljxnd82i2r9yia0b9gh0vv3hwb5k65papnvw7sqpc4sriby";
};
buildInputs = [ net ];
propagatedBuildInputs = [ google-api-go-client ];
};
gopass = buildFromGitHub {
rev = "10b54de414cc9693221d5ff2ae14fd2fbf1b0ac1";
owner = "howeyc";
repo = "gopass";
sha256 = "0lsi89zx1i2f5vhm66zqn2drs7xi7ff8r1xlp6m58r99dddws57s";
propagatedBuildInputs = [ crypto ];
};
gopherduty = buildFromGitHub {
rev = "f4906ce7e59b33a50bfbcba93e2cf58778c11fb9";
owner = "darkcrux";
repo = "gopherduty";
sha256 = "11w1yqc16fxj5q1y5ha5m99j18fg4p9lyqi542x2xbrmjqqialcf";
};
goproxy = buildFromGitHub {
rev = "2624781dc373cecd1136cafdaaaeba6c9bb90e96";
version = "2015-07-26";
owner = "elazarl";
repo = "goproxy";
sha256 = "1zz425y8byjaa9i7mslc9anz9w2jc093fjl0562rmm5hh4rc5x5f";
buildInputs = [ go-charset ];
};
goreq = buildFromGitHub {
rev = "72c51a544272e007ab3da4f7d9ac959b7af7af03";
version = "2015-08-18";
owner = "franela";
repo = "goreq";
sha256 = "0dnqbijdzp2dgsf6m934nadixqbv73q0zkqglaa956zzw0pyhcxp";
};
gotags = buildFromGitHub {
rev = "be986a34e20634775ac73e11a5b55916085c48e7";
version = "2015-08-03";
owner = "jstemmer";
repo = "gotags";
sha256 = "071wyq90b06xlb3bb0l4qjz1gf4nnci4bcngiddfcxf2l41w1vja";
};
gosnappy = buildFromGitHub {
rev = "ce8acff4829e0c2458a67ead32390ac0a381c862";
owner = "syndtr";
repo = "gosnappy";
sha256 = "0ywa52kcii8g2a9lbqcx8ghdf6y56lqq96sl5nl9p6h74rdvmjr7";
};
gosu = buildFromGitHub {
rev = "1.7";
owner = "tianon";
repo = "gosu";
sha256 = "02vln88yyhj8k8cyzac0sgw84626vshmzdrrc1jpl4k4sc27vcbp";
buildInputs = [ opencontainers.runc ];
};
gox = buildGoPackage rec {
rev = "e8e6fd4fe12510cc46893dff18c5188a6a6dc549";
name = "gox-${stdenv.lib.strings.substring 0 7 rev}";
goPackagePath = "github.com/mitchellh/gox";
src = fetchFromGitHub {
inherit rev;
owner = "mitchellh";
repo = "gox";
sha256 = "14jb2vgfr6dv7zlw8i3ilmp125m5l28ljv41a66c9b8gijhm48k1";
};
buildInputs = [ iochan ];
};
gozim = buildFromGitHub {
rev = "ea9b7c39cb1d13bd8bf19ba4dc4e2a16bab52f14";
version = "2016-01-15";
owner = "akhenakh";
repo = "gozim";
sha256 = "1n50fdd56r3s1sgjbpa72nvdh50gfpf6fq55c077w2p3bxn6p8k6";
propagatedBuildInputs = [ bleve go-liblzma groupcache go-rice goquery ];
buildInputs = [ pkgs.zip ];
postInstall = ''
pushd $NIX_BUILD_TOP/go/src/$goPackagePath/cmd/gozimhttpd
${go-rice.bin}/bin/rice append --exec $bin/bin/gozimhttpd
popd
'';
dontStrip = true;
};
go-acd = buildFromGitHub {
rev = "0bd73ce86fffd8afeafe4e46f419f1a8ce6324b9";
version = "20160130";
owner = "ncw";
repo = "go-acd";
sha256 = "1vgcglk2pf325hs1319fk73akzi9hd75kwhjq0j4s6l1p7ybj0l7";
propagatedBuildInputs = [ go-querystring ];
};
go-assert = buildGoPackage rec {
rev = "e17e99893cb6509f428e1728281c2ad60a6b31e3";
name = "assert-${stdenv.lib.strings.substring 0 7 rev}";
goPackagePath = "github.com/bmizerany/assert";
src = fetchFromGitHub {
inherit rev;
owner = "bmizerany";
repo = "assert";
sha256 = "1lfrvqqmb09y6pcr76yjv4r84cshkd4s7fpmiy7268kfi2cvqnpc";
};
propagatedBuildInputs = [ pretty ];
};
go-autorest = buildFromGitHub {
rev = "v6.0.0";
owner = "Azure";
repo = "go-autorest";
sha256 = "07zrbw8p3jc5xfjwn0qj1hrn1r7nbnryc5zmvk42qgximyxsls26";
propagatedBuildInputs = [ jwt-go crypto ];
};
go-backblaze = buildFromGitHub {
buildInputs = [ go-flags go-humanize uilive uiprogress ];
goPackagePath = "gopkg.in/kothar/go-backblaze.v0";
rev = "373819725fc560fa962c6cd883b533d2ebec4844";
owner = "kothar";
repo = "go-backblaze";
sha256 = "1kmlwfnnfd4h46bb9pz2gw1hxqm1pzkwvidfmnc0zkrilaywk6fx";
};
go-bencode = buildGoPackage rec {
version = "1.1.1";
name = "go-bencode-${version}";
goPackagePath = "github.com/ehmry/go-bencode";
src = fetchurl {
url = "https://${goPackagePath}/archive/v${version}.tar.gz";
sha256 = "0y2kz2sg1f7mh6vn70kga5d0qhp04n01pf1w7k6s8j2nm62h24j6";
};
};
go-bindata = buildGoPackage rec {
rev = "a0ff2567cfb70903282db057e799fd826784d41d";
date = "2015-10-23";
version = "${date}-${stdenv.lib.strings.substring 0 7 rev}";
name = "go-bindata-${version}";
goPackagePath = "github.com/jteeuwen/go-bindata";
src = fetchFromGitHub {
inherit rev;
repo = "go-bindata";
owner = "jteeuwen";
sha256 = "0d6zxv0hgh938rf59p1k5lj0ymrb8kcps2vfrb9kaarxsvg7y69v";
};
subPackages = [ "./" "go-bindata" ]; # don't build testdata
meta = with stdenv.lib; {
homepage = "https://github.com/jteeuwen/go-bindata";
description = "A small utility which generates Go code from any file, useful for embedding binary data in a Go program";
maintainers = with maintainers; [ cstrahan ];
license = licenses.cc0 ;
platforms = platforms.all;
};
};
go-bindata-assetfs = buildFromGitHub {
rev = "d5cac425555ca5cf00694df246e04f05e6a55150";
owner = "elazarl";
repo = "go-bindata-assetfs";
sha256 = "636ce247ff6f85c14f38a421f46662fa77bdc29762692e1f72b3cd1f9d7a1d17";
version = "2015-08-13";
meta = with stdenv.lib; {
description = "Serves embedded files from jteeuwen/go-bindata with net/http";
homepage = "https://github.com/elazarl/go-bindata-assetfs";
maintainers = with maintainers; [ matthiasbeyer ];
license = licenses.bsd2;
};
};
pmylund.go-cache = buildGoPackage rec {
rev = "93d85800f2fa6bd0a739e7bd612bfa3bc008b72d";
name = "go-cache-${stdenv.lib.strings.substring 0 7 rev}";
goPackagePath = "github.com/pmylund/go-cache";
goPackageAliases = [
"github.com/robfig/go-cache"
"github.com/influxdb/go-cache"
];
src = fetchFromGitHub {
inherit rev;
owner = "pmylund";
repo = "go-cache";
sha256 = "08wfwm7nk381lv6a95p0hfgqwaksn0vhzz1xxdncjdw6w71isyy7";
};
};
robfig.go-cache = buildFromGitHub {
rev = "9fc39e0dbf62c034ec4e45e6120fc69433a3ec51";
owner = "robfig";
repo = "go-cache";
sha256 = "032nh3y43bpzpcm7bdkxfh55aydvzc2jzhigvy5gd9f648m4j9ha";
};
go-charset = buildFromGitHub {
rev = "61cdee49014dc952076b5852ce4707137eb36b64";
version = "2014-07-13";
owner = "paulrosania";
repo = "go-charset";
sha256 = "0jp6rwxlgl66dipk6ssk8ly55jxncvsxs7jc3abgdrhr3rzccab8";
goPackagePath = "code.google.com/p/go-charset";
preBuild = ''
find go/src/$goPackagePath -name \*.go | xargs sed -i 's,github.com/paulrosania/go-charset,code.google.com/p/go-charset,g'
'';
};
go-checkpoint = buildFromGitHub {
rev = "88326f6851319068e7b34981032128c0b1a6524d";
owner = "hashicorp";
repo = "go-checkpoint";
sha256 = "1npasn9lmvx57nw3wkswwvl5k0wmn01jpalbwv832x5wq4r0nsz4";
};
go-colorable = buildFromGitHub {
rev = "40e4aedc8fabf8c23e040057540867186712faa5";
owner = "mattn";
repo = "go-colorable";
sha256 = "0pwc0s5lvz209dcyamv1ba1xl0c1r5hpxwlq0w5j2xcz8hzrcwkl";
};
go-colortext = buildFromGitHub {
rev = "13eaeb896f5985a1ab74ddea58707a73d875ba57";
owner = "daviddengcn";
repo = "go-colortext";
sha256 = "0618xs9lc5xfp5zkkb5j47dr7i30ps3zj5fj0zpv8afqh2cc689x";
};
go-etcd = buildGoPackage rec {
rev = "9847b93751a5fbaf227b893d172cee0104ac6427";
name = "go-etcd-${stdenv.lib.strings.substring 0 7 rev}";
goPackagePath = "github.com/coreos/go-etcd";
src = fetchFromGitHub {
inherit rev;
owner = "coreos";
repo = "go-etcd";
sha256 = "1ihq01ayqzxvn6hca5