mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
serfdom: Migrate to go-packages
This commit is contained in:
parent
8f34c44824
commit
5f35b0f7da
@ -1,28 +0,0 @@
|
|||||||
{ lib, goPackages, fetchFromGitHub }:
|
|
||||||
|
|
||||||
with goPackages;
|
|
||||||
|
|
||||||
buildGoPackage rec {
|
|
||||||
version = "0.6.4";
|
|
||||||
name = "serfdom-${version}";
|
|
||||||
goPackagePath = "github.com/hashicorp/serf";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "hashicorp";
|
|
||||||
repo = "serf";
|
|
||||||
rev = "v${version}";
|
|
||||||
sha256 = "1fhz8wrvsmgaky22n255w9hkyfph2n45c47ivdyzrrxisg5j2438";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = [ cli mapstructure memberlist_v2 logutils go-syslog mdns columnize circbuf ugorji.go ];
|
|
||||||
|
|
||||||
dontInstallSrc = true;
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "A service discovery and orchestration tool that is decentralized, highly available, and fault tolerant";
|
|
||||||
homepage = http://www.serfdom.io/;
|
|
||||||
license = licenses.mpl20;
|
|
||||||
maintainers = with maintainers; [ msackman cstrahan ];
|
|
||||||
platforms = platforms.unix;
|
|
||||||
};
|
|
||||||
}
|
|
@ -9328,7 +9328,7 @@ let
|
|||||||
|
|
||||||
shairport-sync = callPackage ../servers/shairport-sync { };
|
shairport-sync = callPackage ../servers/shairport-sync { };
|
||||||
|
|
||||||
serfdom = callPackage ../servers/serfdom { };
|
serfdom = pkgs.goPackages.serf.bin // { outputs = [ "bin" ]; };
|
||||||
|
|
||||||
seyren = callPackage ../servers/monitoring/seyren { };
|
seyren = callPackage ../servers/monitoring/seyren { };
|
||||||
|
|
||||||
|
@ -2489,17 +2489,12 @@ let
|
|||||||
buildInputs = [ armon.go-metrics net-rpc-msgpackrpc yamux ];
|
buildInputs = [ armon.go-metrics net-rpc-msgpackrpc yamux ];
|
||||||
};
|
};
|
||||||
|
|
||||||
serf = buildGoPackage rec {
|
serf = buildFromGitHub {
|
||||||
rev = "668982d8f90f5eff4a766583c1286393c1d27f68";
|
rev = "668982d8f90f5eff4a766583c1286393c1d27f68";
|
||||||
name = "serf-${stdenv.lib.strings.substring 0 7 rev}";
|
date = "2015-05-15";
|
||||||
goPackagePath = "github.com/hashicorp/serf";
|
owner = "hashicorp";
|
||||||
|
repo = "serf";
|
||||||
src = fetchFromGitHub {
|
sha256 = "1h05h5xhaj27r1mh5zshnykax29lqjhfc0bx4v9swiwb873c24qk";
|
||||||
inherit rev;
|
|
||||||
owner = "hashicorp";
|
|
||||||
repo = "serf";
|
|
||||||
sha256 = "1h05h5xhaj27r1mh5zshnykax29lqjhfc0bx4v9swiwb873c24qk";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
circbuf armon.go-metrics ugorji.go go-syslog logutils mdns memberlist
|
circbuf armon.go-metrics ugorji.go go-syslog logutils mdns memberlist
|
||||||
|
Loading…
Reference in New Issue
Block a user