2015-02-04 04:49:49 -08:00
|
|
|
{ lib, goPackages, fetchFromGitHub }:
|
2014-06-23 02:03:03 -07:00
|
|
|
|
2015-02-04 04:49:49 -08:00
|
|
|
with goPackages;
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
2014-12-28 16:53:49 -08:00
|
|
|
version = "0.4.5";
|
2014-06-23 02:03:03 -07:00
|
|
|
name = "etcdctl-${version}";
|
2015-02-04 04:49:49 -08:00
|
|
|
goPackagePath = "github.com/coreos/etcdctl";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "coreos";
|
|
|
|
repo = "etcdctl";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1kbri59ppil52v7s992q8r6i1zk9lac0s2w00z2lsgc9w1z59qs0";
|
2014-06-23 02:03:03 -07:00
|
|
|
};
|
|
|
|
|
2015-02-05 09:07:28 -08:00
|
|
|
dontInstallSrc = true;
|
|
|
|
|
2015-02-04 04:49:49 -08:00
|
|
|
meta = with lib; {
|
2014-06-23 02:03:03 -07:00
|
|
|
description = "A simple command line client for etcd";
|
|
|
|
homepage = http://coreos.com/using-coreos/etcd/;
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ cstrahan ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|