Merge pull request #27240 from dtzWill/feature/moby-linuxkit
moby, linuxkit: init at 2017-07-07, 2017-07-08
This commit is contained in:
commit
14702c3944
29
pkgs/development/tools/misc/linuxkit/default.nix
Normal file
29
pkgs/development/tools/misc/linuxkit/default.nix
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{ lib, buildGoPackage, go, fetchFromGitHub }:
|
||||||
|
|
||||||
|
buildGoPackage rec {
|
||||||
|
name = "linuxkit-${version}";
|
||||||
|
version = "2017-07-08";
|
||||||
|
rev = "8ca19a84d5281b1b15c7a48c21e5786943b47f1c";
|
||||||
|
|
||||||
|
goPackagePath = "github.com/linuxkit/linuxkit";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "linuxkit";
|
||||||
|
repo = "linuxkit";
|
||||||
|
inherit rev;
|
||||||
|
sha256 = "150y7hnjhi81iik7np27y5466ldaackq72mpi7vmybbl7vr1wgw4";
|
||||||
|
};
|
||||||
|
|
||||||
|
subPackages = [ "src/cmd/linuxkit" ];
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
buildFlagsArray+=("-ldflags" "-X main.GitCommit=${builtins.substring 0 7 rev} -X main.Version=0.0.0")
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A toolkit for building secure, portable and lean operating systems for containers";
|
||||||
|
license = lib.licenses.asl20;
|
||||||
|
homepage = https://github.com/linuxkit/linuxkit;
|
||||||
|
platforms = lib.platforms.unix;
|
||||||
|
};
|
||||||
|
}
|
27
pkgs/development/tools/misc/moby/default.nix
Normal file
27
pkgs/development/tools/misc/moby/default.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{ lib, buildGoPackage, go, fetchFromGitHub }:
|
||||||
|
|
||||||
|
buildGoPackage rec {
|
||||||
|
name = "moby-${version}";
|
||||||
|
version = "2017-07-06";
|
||||||
|
rev = "d87a3f9990ed24ebbb51695879cd640cb07a4b40";
|
||||||
|
|
||||||
|
goPackagePath = "github.com/moby/tool";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "moby";
|
||||||
|
repo = "tool";
|
||||||
|
inherit rev;
|
||||||
|
sha256 = "0xhasm69g5gwihcm8g7rff9nkx7iffvd642bknky6j3w133gs5lp";
|
||||||
|
};
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
buildFlagsArray+=("-ldflags" "-X main.GitCommit=${builtins.substring 0 7 rev} -X main.Version=0.0.0")
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Assembly tool for the Moby project, an open framework to assemble specialized container systems without reinventing the wheel";
|
||||||
|
license = lib.licenses.asl20;
|
||||||
|
homepage = https://mobyproject.org;
|
||||||
|
platforms = lib.platforms.unix;
|
||||||
|
};
|
||||||
|
}
|
@ -6958,6 +6958,8 @@ with pkgs;
|
|||||||
|
|
||||||
libtool_2 = callPackage ../development/tools/misc/libtool/libtool2.nix { };
|
libtool_2 = callPackage ../development/tools/misc/libtool/libtool2.nix { };
|
||||||
|
|
||||||
|
linuxkit = callPackage ../development/tools/misc/linuxkit { };
|
||||||
|
|
||||||
lit = callPackage ../development/tools/misc/lit { };
|
lit = callPackage ../development/tools/misc/lit { };
|
||||||
|
|
||||||
lsof = callPackage ../development/tools/misc/lsof { };
|
lsof = callPackage ../development/tools/misc/lsof { };
|
||||||
@ -6983,6 +6985,8 @@ with pkgs;
|
|||||||
|
|
||||||
mk = callPackage ../development/tools/build-managers/mk { };
|
mk = callPackage ../development/tools/build-managers/mk { };
|
||||||
|
|
||||||
|
moby = callPackage ../development/tools/misc/moby { };
|
||||||
|
|
||||||
msgpack-tools = callPackage ../development/tools/msgpack-tools { };
|
msgpack-tools = callPackage ../development/tools/msgpack-tools { };
|
||||||
|
|
||||||
msitools = callPackage ../development/tools/misc/msitools { };
|
msitools = callPackage ../development/tools/misc/msitools { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user