flannel: extracted from goPackages

nixos-19.03
Kamil Chmielewski 6 years ago
parent 387246080b
commit e5b9d23de7
  1. 18
      pkgs/tools/networking/flannel/default.nix
  2. 2
      pkgs/top-level/all-packages.nix
  3. 7
      pkgs/top-level/go-packages.nix

@ -0,0 +1,18 @@
# This file was generated by go2nix.
{ stdenv, lib, goPackages, fetchgit, fetchhg, fetchbzr, fetchsvn }:
with goPackages;
buildGoPackage rec {
name = "flannel-${version}";
version = "0.5.5";
rev = "v${version}";
goPackagePath = "github.com/coreos/flannel";
src = fetchgit {
inherit rev;
url = "https://github.com/coreos/flannel";
sha256 = "19nrilcc41411rag2qm22vdna4kpqm933ry9m82wkd7sqzb50fpw";
};
}

@ -1514,7 +1514,7 @@ in
inherit (perlPackages) ImageExifTool JSON;
};
flannel = goPackages.flannel.bin // { outputs = [ "bin" ]; };
flannel = (callPackage ../tools/networking/flannel {}).bin;
flashbench = callPackage ../os-specific/linux/flashbench { };

@ -856,13 +856,6 @@ let
};
};
flannel = buildFromGitHub {
rev = "v0.5.5";
owner = "coreos";
repo = "flannel";
sha256 = "19nrilcc41411rag2qm22vdna4kpqm933ry9m82wkd7sqzb50fpw";
};
fsnotify.v1 = buildGoPackage rec {
rev = "v1.2.0";
name = "fsnotify.v1-${rev}";

Loading…
Cancel
Save