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