flannel: 0.13.0 -> 0.15.1

This commit is contained in:
Justinas Stankevicius 2021-12-07 17:35:29 +02:00 committed by zowoq
parent 3c8833b03d
commit 8eea54eaa8

View file

@ -1,26 +1,33 @@
{ lib, buildGoPackage, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
with lib;
buildGoPackage rec {
buildGoModule rec {
pname = "flannel";
version = "0.13.0";
version = "0.15.1";
rev = "v${version}";
goPackagePath = "github.com/coreos/flannel";
vendorSha256 = null;
src = fetchFromGitHub {
inherit rev;
owner = "coreos";
owner = "flannel-io";
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 = {
description = "Network fabric for containers, designed for Kubernetes";
license = licenses.asl20;
homepage = "https://github.com/coreos/flannel";
maintainers = with maintainers; [johanot offline];
homepage = "https://github.com/flannel-io/flannel";
maintainers = with maintainers; [ johanot offline ];
platforms = with platforms; linux;
};
}