buildkit: init at v0.4.0

compile `builtkitd` only on Linux, `buildkitctl` on all envs.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
Vincent Demeester 2019-03-14 17:01:39 +01:00
parent 8f9e283f92
commit 9934f533f4
No known key found for this signature in database
GPG key ID: 083CC6FD6EB699A3
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ stdenv, fetchFromGitHub, buildGoPackage }:
buildGoPackage rec {
pname = "buildkit";
version = "0.4.0";
rev = "v${version}";
goPackagePath = "github.com/moby/buildkit";
subPackages = [ "cmd/buildctl" ] ++ stdenv.lib.optionals stdenv.isLinux [ "cmd/buildkitd" ];
src = fetchFromGitHub {
inherit rev;
owner = "moby";
repo = "buildkit";
sha256 = "0gkwcjqbcskn63y79jwa26hxkps452z4bgz8lrryaskzbdpvhh3d";
};
meta = with stdenv.lib; {
description = "Concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit";
homepage = https://github.com/moby/buildkit;
license = licenses.asl20;
maintainers = with maintainers; [ vdemeester ];
};
}

View file

@ -1071,6 +1071,8 @@ in
buildah = callPackage ../development/tools/buildah { };
buildkit = callPackage ../development/tools/buildkit { };
bukubrow = callPackage ../tools/networking/bukubrow { };
burpsuite = callPackage ../tools/networking/burpsuite {};