2015-02-04 17:23:52 +03:00
|
|
|
{ lib, goPackages, fetchFromGitHub }:
|
2014-02-27 22:11:08 +04:00
|
|
|
|
2015-02-04 17:23:52 +03:00
|
|
|
with goPackages;
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
2014-07-25 19:51:54 +04:00
|
|
|
version = "0.6.3";
|
2014-06-23 12:42:37 +04:00
|
|
|
name = "serfdom-${version}";
|
2015-02-04 17:23:52 +03:00
|
|
|
goPackagePath = "github.com/hashicorp/serf";
|
2014-02-27 22:11:08 +04:00
|
|
|
|
2015-02-04 17:23:52 +03:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hashicorp";
|
|
|
|
repo = "serf";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0ck77ji28bvm4ahzxyyi4sm17c3fxc16k0k5mihl1nlkgdd73m8y";
|
2014-06-23 12:42:37 +04:00
|
|
|
};
|
2014-02-27 22:11:08 +04:00
|
|
|
|
2015-02-04 17:23:52 +03:00
|
|
|
buildInputs = [ cli mapstructure memberlist logutils go-syslog mdns columnize circbuf ];
|
2014-02-27 22:11:08 +04:00
|
|
|
|
2015-02-05 20:07:28 +03:00
|
|
|
dontInstallSrc = true;
|
|
|
|
|
2015-02-04 17:23:52 +03:00
|
|
|
meta = with lib; {
|
2014-07-01 13:25:41 +04:00
|
|
|
description = "A service discovery and orchestration tool that is decentralized, highly available, and fault tolerant";
|
2014-06-23 12:42:37 +04:00
|
|
|
homepage = http://www.serfdom.io/;
|
|
|
|
license = licenses.mpl20;
|
|
|
|
maintainers = with maintainers; [ msackman cstrahan ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|