Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / virtualization / buildkit-nix / default.nix
blob3e7027f9dfd9111424360ca0f280eb82aad50df0
1 { lib, buildGoModule, fetchFromGitHub }:
3 buildGoModule rec {
4   pname = "buildkit-nix";
5   version = "0.1.1";
7   src = fetchFromGitHub {
8     owner = "reproducible-containers";
9     repo = pname;
10     rev = "v${version}";
11     sha256 = "sha256-i8KQLLL36iP26jIj10fZLtYpS57Xni4eIQEJG4ixWy8=";
12   };
14   vendorHash = "sha256-SFsf2QOIuUQY5Zzshb2190pQtOBGEsELBRihOvHYVGA=";
16   CGO_ENABLED = 0;
18   ldflags = [ "-s" "-w" ];
20   meta = with lib; {
21     description = "Nix frontend for BuildKit";
22     homepage = "https://github.com/reproducible-containers/buildkit-nix/";
23     license = licenses.asl20;
24     platforms = platforms.linux;
25     maintainers = with maintainers; [ lesuisse ];
26   };