2015-02-04 14:55:40 +01:00
|
|
|
{ lib, goPackages, fetchFromGitHub }:
|
2014-06-23 10:55:46 +02:00
|
|
|
|
2015-02-04 14:55:40 +01:00
|
|
|
with goPackages;
|
2014-06-23 10:55:46 +02:00
|
|
|
|
2015-02-04 14:55:40 +01:00
|
|
|
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";
|
2014-06-23 10:55:46 +02:00
|
|
|
};
|
|
|
|
|
2015-02-04 14:55:40 +01:00
|
|
|
subPackages = [ "./" ];
|
2014-06-23 10:55:46 +02:00
|
|
|
|
2015-02-04 14:55:40 +01:00
|
|
|
meta = with lib; {
|
2014-06-23 10:55:46 +02:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|