nixpkgs/pkgs/tools/networking/flannel/default.nix

27 lines
622 B
Nix
Raw Normal View History

{ lib, buildGoPackage, fetchFromGitHub }:
2016-06-03 13:17:53 +02:00
2016-09-27 22:51:09 +02:00
with lib;
2016-06-03 13:17:53 +02:00
buildGoPackage rec {
pname = "flannel";
2020-06-14 16:52:55 +02:00
version = "0.12.0";
2016-06-03 13:17:53 +02:00
rev = "v${version}";
goPackagePath = "github.com/coreos/flannel";
src = fetchFromGitHub {
2016-06-03 13:17:53 +02:00
inherit rev;
owner = "coreos";
repo = "flannel";
2020-06-14 16:52:55 +02:00
sha256 = "04g7rzgyi3xs3sf5p1a9dmd08crdrz6y1b02ziv3444qk40jyswd";
2016-09-27 22:51:09 +02:00
};
meta = {
description = "Network fabric for containers, designed for Kubernetes";
license = licenses.asl20;
homepage = "https://github.com/coreos/flannel";
maintainers = with maintainers; [johanot offline];
2016-09-27 22:51:09 +02:00
platforms = with platforms; linux;
2016-06-03 13:17:53 +02:00
};
}