2016-06-06 10:26:56 +00:00
|
|
|
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
|
2016-06-03 11:17:53 +00:00
|
|
|
|
2016-09-27 20:51:09 +00:00
|
|
|
with lib;
|
|
|
|
|
2016-06-03 11:17:53 +00:00
|
|
|
buildGoPackage rec {
|
|
|
|
name = "flannel-${version}";
|
2016-09-27 20:51:09 +00:00
|
|
|
version = "0.6.2";
|
2016-06-03 11:17:53 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/coreos/flannel";
|
|
|
|
|
2016-08-24 19:00:11 +00:00
|
|
|
hardeningDisable = [ "fortify" ];
|
|
|
|
|
2016-06-06 10:26:56 +00:00
|
|
|
src = fetchFromGitHub {
|
2016-06-03 11:17:53 +00:00
|
|
|
inherit rev;
|
2016-06-06 10:26:56 +00:00
|
|
|
owner = "coreos";
|
|
|
|
repo = "flannel";
|
2016-09-27 20:51:09 +00:00
|
|
|
sha256 = "03l0zyv9ajda70zw7jgwlmilw26h849jbb9f4slbycphhvbmpvb9";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Network fabric for containers, designed for Kubernetes";
|
|
|
|
license = licenses.asl20;
|
|
|
|
homepage = https://github.com/coreos/flannel;
|
|
|
|
maintainers = with maintainers; [offline];
|
|
|
|
platforms = with platforms; linux;
|
2016-06-03 11:17:53 +00:00
|
|
|
};
|
|
|
|
}
|