mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 03:03:37 +00:00
4c17c83b27
Diff: https://github.com/moby/buildkit/compare/v0.12.3...v0.12.4 Changelog: https://github.com/moby/buildkit/releases/tag/v0.12.4
31 lines
934 B
Nix
31 lines
934 B
Nix
{ lib, stdenv, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "buildkit";
|
|
version = "0.12.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "moby";
|
|
repo = "buildkit";
|
|
rev = "v${version}";
|
|
hash = "sha256-nQvrd2W9xWWGTlwN5Q2E3rs67OUxZ4bIp+rK2W2PUww=";
|
|
};
|
|
|
|
vendorHash = null;
|
|
|
|
subPackages = [ "cmd/buildctl" ] ++ lib.optionals stdenv.isLinux [ "cmd/buildkitd" ];
|
|
|
|
ldflags = [ "-s" "-w" "-X github.com/moby/buildkit/version.Version=${version}" "-X github.com/moby/buildkit/version.Revision=${src.rev}" ];
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit";
|
|
homepage = "https://github.com/moby/buildkit";
|
|
changelog = "https://github.com/moby/buildkit/releases/tag/v${version}";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ vdemeester marsam developer-guy ];
|
|
mainProgram = "buildctl";
|
|
};
|
|
}
|