about summary refs log tree commit diff
path: root/pkgs/tools/networking/flannel/default.nix
blob: 7ecfb559dcc7d5b1d1d64a039abf513c34caa8c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib, buildGoPackage, fetchFromGitHub }:

with lib;

buildGoPackage rec {
  pname = "flannel";
  version = "0.12.0";
  rev = "v${version}";

  goPackagePath = "github.com/coreos/flannel";

  src = fetchFromGitHub {
    inherit rev;
    owner = "coreos";
    repo = "flannel";
    sha256 = "04g7rzgyi3xs3sf5p1a9dmd08crdrz6y1b02ziv3444qk40jyswd";
  };

  meta = {
    description = "Network fabric for containers, designed for Kubernetes";
    license = licenses.asl20;
    homepage = "https://github.com/coreos/flannel";
    maintainers = with maintainers; [johanot offline];
    platforms = with platforms; linux;
  };
}