diff options
author | Pradeep Chhetri <pradeep.chhetri89@gmail.com> | 2017-02-18 00:20:38 +0530 |
---|---|---|
committer | Pradeep Chhetri <pradeep.chhetri89@gmail.com> | 2017-02-19 19:45:48 +0530 |
commit | 0360e61d889439e930c4b02b08835825c527b95a (patch) | |
tree | e485190a12c8b474f7c7c7b6f3f4103447253dbd /pkgs/servers/serf/default.nix | |
parent | 03024b39b7d4b94724faa1a62f21aed3531bb35a (diff) |
serf: 20150515 -> 0.8.1
Diffstat (limited to 'pkgs/servers/serf/default.nix')
-rw-r--r-- | pkgs/servers/serf/default.nix | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/pkgs/servers/serf/default.nix b/pkgs/servers/serf/default.nix index 44c766d35d019..23daa99b3bcb8 100644 --- a/pkgs/servers/serf/default.nix +++ b/pkgs/servers/serf/default.nix @@ -1,17 +1,24 @@ -{ stdenv, lib, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }: +{ stdenv, buildGoPackage, fetchFromGitHub }: buildGoPackage rec { name = "serf-${version}"; - version = "20150515-${stdenv.lib.strings.substring 0 7 rev}"; - rev = "668982d8f90f5eff4a766583c1286393c1d27f68"; + version = "0.8.1"; + rev = "v${version}"; goPackagePath = "github.com/hashicorp/serf"; - src = fetchgit { + src = fetchFromGitHub { + owner = "hashicorp"; + repo = "serf"; inherit rev; - url = "https://github.com/hashicorp/serf"; - sha256 = "1h05h5xhaj27r1mh5zshnykax29lqjhfc0bx4v9swiwb873c24qk"; + sha256 = "1arakjvhyasrk52vhxas2ghlrby3i3wj59r7sjrkbpln2cdbqnlx"; }; - goDeps = ./deps.nix; + 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 ]; + }; } |