depot/third_party/nixpkgs/pkgs/applications/virtualization/buildkit-nix/default.nix
Default email c594a97518 Project import generated by Copybara.
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
2022-10-21 20:38:19 +02:00

27 lines
676 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "buildkit-nix";
version = "0.1.0";
src = fetchFromGitHub {
owner = "reproducible-containers";
repo = pname;
rev = "v${version}";
sha256 = "sha256-gKTCBz7om1M7UBzyMJDetNGcKLkQKMyuzwrHBbuuifM=";
};
vendorSha256 = "sha256-1H5oWgcaamf+hocABWWnzJUjWiqwk1ZZtbBjF6EKzzU=";
CGO_ENABLED = 0;
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "Nix frontend for BuildKit";
homepage = "https://github.com/reproducible-containers/buildkit-nix/";
license = licenses.asl20;
platforms = platforms.linux;
maintainers = with maintainers; [ lesuisse ];
};
}