summary refs log tree commit diff
path: root/pkgs/servers/serf/default.nix
blob: 585fc2b73ef9c3f96f5c906ef65821bd2d0913e7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  pname = "serf";
  version = "0.8.1";
  rev = "v${version}";

  goPackagePath = "github.com/hashicorp/serf";

  src = fetchFromGitHub {
    owner = "hashicorp";
    repo = "serf";
    inherit rev;
    sha256 = "1arakjvhyasrk52vhxas2ghlrby3i3wj59r7sjrkbpln2cdbqnlx";
  };

  meta = with stdenv.lib; {
    description = "Tool for service orchestration and management";
    homepage = https://www.serf.io/;
    platforms = platforms.linux ++ platforms.darwin;
    license = licenses.mpl20;
    maintainers = with maintainers; [ pradeepchhetri ];
  };
}