2015-02-04 14:56:40 +00:00
|
|
|
{ lib, goPackages, fetchFromGitHub }:
|
2014-11-04 18:32:30 +00:00
|
|
|
|
2015-02-04 14:56:40 +00:00
|
|
|
with goPackages;
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
2014-11-04 18:32:30 +00:00
|
|
|
version = "0.1.0";
|
|
|
|
name = "flannel-${version}";
|
2015-02-04 14:56:40 +00:00
|
|
|
goPackagePath = "github.com/coreos/flannel";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "coreos";
|
|
|
|
repo = "flannel";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1f7x6a2c8ix6j5y1r0dq56b58bl2rs2ycbdqb9fz5zv1zk2w20rd";
|
2014-11-04 18:32:30 +00:00
|
|
|
};
|
|
|
|
|
2015-02-05 17:07:28 +00:00
|
|
|
dontInstallSrc = true;
|
|
|
|
|
2015-02-04 14:56:40 +00:00
|
|
|
meta = with lib; {
|
2014-11-04 18:32:30 +00:00
|
|
|
description = "Flannel is an etcd backed network fabric for containers";
|
|
|
|
homepage = https://github.com/coreos/flannel;
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ offline ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|