From 6aaba55b8dd015397da2374fe85e9efda79c918e Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Mon, 20 Dec 2021 11:49:38 +0100 Subject: [PATCH] buildkit-nix: init at 0.0.1 https://github.com/AkihiroSuda/buildkit-nix/ --- .../virtualization/buildkit-nix/default.nix | 27 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/applications/virtualization/buildkit-nix/default.nix diff --git a/pkgs/applications/virtualization/buildkit-nix/default.nix b/pkgs/applications/virtualization/buildkit-nix/default.nix new file mode 100644 index 000000000000..f9a2ba34f099 --- /dev/null +++ b/pkgs/applications/virtualization/buildkit-nix/default.nix @@ -0,0 +1,27 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "buildkit-nix"; + version = "0.0.1"; + + src = fetchFromGitHub { + owner = "AkihiroSuda"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-Bdw7kYAZmRf1VOJ8y7JISQbAo0vLjWlo0j5x+VD9lSU="; + }; + + vendorSha256 = "sha256-c+VHt2uTaEQIXsmJ9TA7X5lfMxGL9yKbbnnXn4drCLU="; + + CGO_ENABLED = 0; + + ldflags = [ "-s" "-w" ]; + + meta = with lib; { + description = "Nix frontend for BuildKit"; + homepage = "https://github.com/AkihiroSuda/buildkit-nix/"; + license = licenses.asl20; + platforms = platforms.linux; + maintainers = with maintainers; [ lesuisse ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 90c38df0f978..7bec609528a8 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15886,6 +15886,8 @@ with pkgs; buddy = callPackage ../development/libraries/buddy { }; + buildkit-nix = callPackage ../applications/virtualization/buildkit-nix { }; + bulletml = callPackage ../development/libraries/bulletml { }; bwidget = callPackage ../development/libraries/bwidget { };