flannel: 0.13.0 -> 0.15.1
This commit is contained in:
parent
3c8833b03d
commit
8eea54eaa8
|
@ -1,26 +1,33 @@
|
||||||
{ lib, buildGoPackage, fetchFromGitHub }:
|
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoModule rec {
|
||||||
pname = "flannel";
|
pname = "flannel";
|
||||||
version = "0.13.0";
|
version = "0.15.1";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
|
|
||||||
goPackagePath = "github.com/coreos/flannel";
|
vendorSha256 = null;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
inherit rev;
|
inherit rev;
|
||||||
owner = "coreos";
|
owner = "flannel-io";
|
||||||
repo = "flannel";
|
repo = "flannel";
|
||||||
sha256 = "0mmswnaybwpf18h832haapcs5b63wn5w2hax0smm3inldiggsbw8";
|
sha256 = "1p4rz4kdiif8i78zgxhw6dd0c1bq159f6l1idvig5apph7zi2bwm";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ldflags = [ "-X github.com/flannel-io/flannel/version.Version=${rev}" ];
|
||||||
|
|
||||||
|
# TestRouteCache/TestV6RouteCache fail with "Failed to create newns: operation not permitted"
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
passthru.tests = { inherit (nixosTests) flannel; };
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Network fabric for containers, designed for Kubernetes";
|
description = "Network fabric for containers, designed for Kubernetes";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
homepage = "https://github.com/coreos/flannel";
|
homepage = "https://github.com/flannel-io/flannel";
|
||||||
maintainers = with maintainers; [johanot offline];
|
maintainers = with maintainers; [ johanot offline ];
|
||||||
platforms = with platforms; linux;
|
platforms = with platforms; linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue