1 { lib, stdenv, buildGoModule, fetchFromGitHub }:
7 src = fetchFromGitHub {
11 sha256 = "sha256-6p7LQvlVG0epkk4qFDKrmBBFIIbmB6AMROB7dfE+3ho=";
16 subPackages = [ "cmd/buildctl" ] ++ lib.optionals stdenv.isLinux [ "cmd/buildkitd" ];
18 ldflags = [ "-s" "-w" "-X github.com/moby/buildkit/version.Version=${version}" "-X github.com/moby/buildkit/version.Revision=${src.rev}" ];
23 description = "Concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit";
24 homepage = "https://github.com/moby/buildkit";
25 license = licenses.asl20;
26 maintainers = with maintainers; [ vdemeester marsam ];
27 mainProgram = "buildctl";