mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
19 lines
396 B
Nix
19 lines
396 B
Nix
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
name = "flannel-${version}";
|
|
version = "0.5.5";
|
|
rev = "v${version}";
|
|
|
|
goPackagePath = "github.com/coreos/flannel";
|
|
|
|
hardeningDisable = [ "fortify" ];
|
|
|
|
src = fetchFromGitHub {
|
|
inherit rev;
|
|
owner = "coreos";
|
|
repo = "flannel";
|
|
sha256 = "19nrilcc41411rag2qm22vdna4kpqm933ry9m82wkd7sqzb50fpw";
|
|
};
|
|
}
|