1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/tools/networking/flannel/default.nix

29 lines
658 B
Nix
Raw Normal View History

{ lib, buildGoPackage, fetchFromGitHub }:
2016-06-03 12:17:53 +01:00
2016-09-27 21:51:09 +01:00
with lib;
2016-06-03 12:17:53 +01:00
buildGoPackage rec {
name = "flannel-${version}";
2016-09-27 21:51:09 +01:00
version = "0.6.2";
2016-06-03 12:17:53 +01:00
rev = "v${version}";
goPackagePath = "github.com/coreos/flannel";
2016-08-24 20:00:11 +01:00
hardeningDisable = [ "fortify" ];
src = fetchFromGitHub {
2016-06-03 12:17:53 +01:00
inherit rev;
owner = "coreos";
repo = "flannel";
2016-09-27 21:51:09 +01:00
sha256 = "03l0zyv9ajda70zw7jgwlmilw26h849jbb9f4slbycphhvbmpvb9";
};
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 12:17:53 +01:00
};
}