mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 20:02:58 +03:00
flannel: Migrate to go-packages
This commit is contained in:
parent
81c9095d90
commit
5b13442747
@ -1,25 +0,0 @@
|
||||
{ lib, goPackages, fetchFromGitHub }:
|
||||
|
||||
with goPackages;
|
||||
|
||||
buildGoPackage rec {
|
||||
version = "0.1.0";
|
||||
name = "flannel-${version}";
|
||||
goPackagePath = "github.com/coreos/flannel";
|
||||
src = fetchFromGitHub {
|
||||
owner = "coreos";
|
||||
repo = "flannel";
|
||||
rev = "v${version}";
|
||||
sha256 = "1f7x6a2c8ix6j5y1r0dq56b58bl2rs2ycbdqb9fz5zv1zk2w20rd";
|
||||
};
|
||||
|
||||
dontInstallSrc = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Flannel is an etcd backed network fabric for containers";
|
||||
homepage = https://github.com/coreos/flannel;
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ offline ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
@ -1489,7 +1489,7 @@ let
|
||||
inherit (perlPackages) ImageExifTool JSON;
|
||||
};
|
||||
|
||||
flannel = callPackage ../tools/networking/flannel { };
|
||||
flannel = pkgs.goPackages.flannel.bin // { outputs = [ "bin" ]; };
|
||||
|
||||
flashbench = callPackage ../os-specific/linux/flashbench { };
|
||||
|
||||
|
@ -581,6 +581,13 @@ let
|
||||
};
|
||||
};
|
||||
|
||||
flannel = buildFromGitHub {
|
||||
rev = "v0.5.3";
|
||||
owner = "coreos";
|
||||
repo = "flannel";
|
||||
sha256 = "0d9khv0bczvsaqnz16p546m4r5marmnkcrdhi0f3ajnwxb776r9p";
|
||||
};
|
||||
|
||||
fsnotify.v1 = buildGoPackage rec {
|
||||
rev = "v1.2.0";
|
||||
name = "fsnotify.v1-${rev}";
|
||||
|
Loading…
Reference in New Issue
Block a user