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

29 lines
659 B
Nix
Raw Normal View History

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