2017-02-17 18:50:38 +00:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
2016-06-04 11:54:28 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "serf-${version}";
|
2017-02-17 18:50:38 +00:00
|
|
|
version = "0.8.1";
|
|
|
|
rev = "v${version}";
|
2016-06-04 11:54:28 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/hashicorp/serf";
|
|
|
|
|
2017-02-17 18:50:38 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hashicorp";
|
|
|
|
repo = "serf";
|
2016-06-04 11:54:28 +00:00
|
|
|
inherit rev;
|
2017-02-17 18:50:38 +00:00
|
|
|
sha256 = "1arakjvhyasrk52vhxas2ghlrby3i3wj59r7sjrkbpln2cdbqnlx";
|
2016-06-04 11:54:28 +00:00
|
|
|
};
|
|
|
|
|
2017-02-17 18:50:38 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Tool for service orchestration and management";
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = https://www.serf.io/;
|
2017-02-17 18:50:38 +00:00
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
license = licenses.mpl20;
|
|
|
|
maintainers = with maintainers; [ pradeepchhetri ];
|
|
|
|
};
|
2016-06-04 11:54:28 +00:00
|
|
|
}
|