diff options
author | Kamil Chmielewski <kamil.chm@gmail.com> | 2016-06-04 13:54:28 +0200 |
---|---|---|
committer | Kamil Chmielewski <kamil.chm@gmail.com> | 2016-06-09 11:22:02 +0200 |
commit | 4ddfe1fc40ae19efd34dcca0a2f6f179b0320f70 (patch) | |
tree | f5db6b4dfab0aeab4ab293fa9f73591abd5ed21e /pkgs/servers/serf | |
parent | 6b41b6b908429b5d6eca05e45eb13a2d6954cfec (diff) |
serfdom: extracted from goPackages
Diffstat (limited to 'pkgs/servers/serf')
-rw-r--r-- | pkgs/servers/serf/default.nix | 20 | ||||
-rw-r--r-- | pkgs/servers/serf/deps.json | 23 |
2 files changed, 43 insertions, 0 deletions
diff --git a/pkgs/servers/serf/default.nix b/pkgs/servers/serf/default.nix new file mode 100644 index 0000000000000..5f4c6453de71a --- /dev/null +++ b/pkgs/servers/serf/default.nix @@ -0,0 +1,20 @@ +# This file was generated by go2nix. +{ stdenv, lib, goPackages, fetchgit, fetchhg, fetchbzr, fetchsvn }: + +with goPackages; + +buildGoPackage rec { + name = "serf-${version}"; + version = "20150515-${stdenv.lib.strings.substring 0 7 rev}"; + rev = "668982d8f90f5eff4a766583c1286393c1d27f68"; + + goPackagePath = "github.com/hashicorp/serf"; + + src = fetchgit { + inherit rev; + url = "https://github.com/hashicorp/serf"; + sha256 = "1h05h5xhaj27r1mh5zshnykax29lqjhfc0bx4v9swiwb873c24qk"; + }; + + goDeps = ./deps.json; +} diff --git a/pkgs/servers/serf/deps.json b/pkgs/servers/serf/deps.json new file mode 100644 index 0000000000000..3f13d0684797f --- /dev/null +++ b/pkgs/servers/serf/deps.json @@ -0,0 +1,23 @@ +[ + { + "include": "../../libs.json", + "packages": [ + "github.com/armon/go-metrics", + "github.com/mattn/go-isatty", + "github.com/hashicorp/logutils", + "github.com/armon/go-radix", + "github.com/bgentry/speakeasy", + "github.com/hashicorp/go-syslog", + "github.com/hashicorp/memberlist", + "github.com/mitchellh/mapstructure", + "github.com/armon/circbuf", + "github.com/hashicorp/go-msgpack", + "github.com/hashicorp/go.net", + "github.com/hashicorp/mdns", + "github.com/mitchellh/cli", + "github.com/ryanuber/columnize", + "github.com/miekg/dns", + "golang.org/x/crypto" + ] + } +] |