2018-07-21 01:44:44 +01:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2016-06-03 12:17:53 +01:00
|
|
|
|
2016-09-27 21:51:09 +01:00
|
|
|
with lib;
|
|
|
|
|
2016-06-03 12:17:53 +01:00
|
|
|
buildGoPackage rec {
|
|
|
|
name = "flannel-${version}";
|
2019-02-11 10:17:13 +00:00
|
|
|
version = "0.11.0";
|
2016-06-03 12:17:53 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/coreos/flannel";
|
|
|
|
|
2016-08-24 20:00:11 +01:00
|
|
|
hardeningDisable = [ "fortify" ];
|
|
|
|
|
2016-06-06 11:26:56 +01:00
|
|
|
src = fetchFromGitHub {
|
2016-06-03 12:17:53 +01:00
|
|
|
inherit rev;
|
2016-06-06 11:26:56 +01:00
|
|
|
owner = "coreos";
|
|
|
|
repo = "flannel";
|
2019-02-11 10:17:13 +00:00
|
|
|
sha256 = "0akxlrrsm2w51g0qd7dnsdy0hdajx98sdhxw4iknjr2kn7j3gph9";
|
2016-09-27 21:51:09 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Network fabric for containers, designed for Kubernetes";
|
|
|
|
license = licenses.asl20;
|
|
|
|
homepage = https://github.com/coreos/flannel;
|
2019-02-11 10:17:59 +00:00
|
|
|
maintainers = with maintainers; [johanot offline];
|
2016-09-27 21:51:09 +01:00
|
|
|
platforms = with platforms; linux;
|
2016-06-03 12:17:53 +01:00
|
|
|
};
|
|
|
|
}
|