mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
29 lines
667 B
Nix
29 lines
667 B
Nix
{ lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
with lib;
|
|
|
|
buildGoPackage rec {
|
|
name = "flannel-${version}";
|
|
version = "0.11.0";
|
|
rev = "v${version}";
|
|
|
|
goPackagePath = "github.com/coreos/flannel";
|
|
|
|
hardeningDisable = [ "fortify" ];
|
|
|
|
src = fetchFromGitHub {
|
|
inherit rev;
|
|
owner = "coreos";
|
|
repo = "flannel";
|
|
sha256 = "0akxlrrsm2w51g0qd7dnsdy0hdajx98sdhxw4iknjr2kn7j3gph9";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|