nixpkgs/pkgs/applications/virtualization/buildkit-nix/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
674 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "buildkit-nix";
2023-09-17 20:23:55 +00:00
version = "0.1.1";
src = fetchFromGitHub {
2022-10-11 17:00:59 +00:00
owner = "reproducible-containers";
repo = pname;
rev = "v${version}";
2023-09-17 20:23:55 +00:00
sha256 = "sha256-i8KQLLL36iP26jIj10fZLtYpS57Xni4eIQEJG4ixWy8=";
};
2023-09-17 20:23:55 +00:00
vendorHash = "sha256-SFsf2QOIuUQY5Zzshb2190pQtOBGEsELBRihOvHYVGA=";
CGO_ENABLED = 0;
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "Nix frontend for BuildKit";
2022-10-11 17:00:59 +00:00
homepage = "https://github.com/reproducible-containers/buildkit-nix/";
license = licenses.asl20;
platforms = platforms.linux;
maintainers = with maintainers; [ lesuisse ];
};
}