mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
eeaae0fe8a
Update pkgs/by-name/kb/kbld/package.nix Co-authored-by: Aleksana <alexander.huang.y@gmail.com> Update pkgs/by-name/kb/kbld/package.nix Co-authored-by: Aleksana <alexander.huang.y@gmail.com>
36 lines
734 B
Nix
36 lines
734 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "kbld";
|
|
version = "0.44.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "carvel-dev";
|
|
repo = "kbld";
|
|
rev = "v${version}";
|
|
hash = "sha256-sEzCA32r3nSY1hT1r4EPPWsF9Kgn0rXnaAKlatFjZIo=";
|
|
};
|
|
|
|
vendorHash = null;
|
|
|
|
subPackages = [ "cmd/kbld" ];
|
|
|
|
CGO_ENABLED = 0;
|
|
|
|
ldflags = [
|
|
"-X=carvel.dev/kbld/pkg/kbld/version.Version=${version}"
|
|
];
|
|
|
|
meta = {
|
|
description = "Seamlessly incorporates image building and image pushing into your development and deployment workflows";
|
|
homepage = "https://carvel.dev/kbld/";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ benchand ];
|
|
mainProgram = "kbld";
|
|
};
|
|
}
|