summary refs log tree commit diff
path: root/pkgs/servers/etcd/default.nix
blob: 89ea70d46c53ea98e1a55f5f5dde0825134bf007 (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
25
{ lib, goPackages, fetchFromGitHub }:

with goPackages;

buildGoPackage rec {
  version = "2.0.0";
  name = "etcd-${version}";
  goPackagePath = "github.com/coreos/etcd";
  src = fetchFromGitHub {
    owner = "coreos";
    repo = "etcd";
    rev = "v${version}";
    sha256 = "1s3jilzlqyh2i81pv79cgap6dfj7qrfrwcv4w9lic5ivznz413vc";
  };

  subPackages = [ "./" ];

  meta = with lib; {
    description = "A highly-available key value store for shared configuration and service discovery";
    homepage = http://coreos.com/using-coreos/etcd/;
    license = licenses.asl20;
    maintainers = with maintainers; [ cstrahan ];
    platforms = platforms.unix;
  };
}