2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-12-21 01:08:59 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "docker-buildx";
|
2021-08-21 22:30:24 +01:00
|
|
|
version = "0.6.2";
|
2020-12-21 01:08:59 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "docker";
|
|
|
|
repo = "buildx";
|
|
|
|
rev = "v${version}";
|
2021-08-26 15:58:39 +01:00
|
|
|
sha256 = "sha256-X/oTL/CfMunGcS3HDoH/g1gZcJWnVU93OkcGC36KuA4=";
|
2020-12-21 01:08:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
vendorSha256 = null;
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -D $GOPATH/bin/buildx $out/libexec/docker/cli-plugins/docker-buildx
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Docker CLI plugin for extended build capabilities with BuildKit";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.ivan-babrou ];
|
|
|
|
};
|
|
|
|
}
|