Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
38 lines
885 B
Nix
38 lines
885 B
Nix
{
|
|
lib,
|
|
go,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "qbec";
|
|
version = "0.16.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "splunk";
|
|
repo = "qbec";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-zi8UPDJxa6SJslVTi6uOxph/au42LPRSCZ/oohXPYFs=";
|
|
};
|
|
|
|
vendorHash = "sha256-n0z4kErg0Y3uSwF8tCqM2AJs5rCuHOZONjhqMPSmeK4=";
|
|
|
|
doCheck = false;
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
"-X github.com/splunk/qbec/internal/commands.version=${version}"
|
|
"-X github.com/splunk/qbec/internal/commands.commit=${src.rev}"
|
|
"-X github.com/splunk/qbec/internal/commands.goVersion=${lib.getVersion go}"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Configure kubernetes objects on multiple clusters using jsonnet https://qbec.io";
|
|
homepage = "https://github.com/splunk/qbec";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ groodt ];
|
|
};
|
|
}
|