depot/third_party/nixpkgs/pkgs/servers/serf/default.nix

25 lines
620 B
Nix
Raw Normal View History

{ 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 ];
};
}