mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
b799808261
qbec: 0.12.0 -> 0.12.1
31 lines
878 B
Nix
31 lines
878 B
Nix
{ lib, go, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "qbec";
|
|
version = "0.12.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "splunk";
|
|
repo = "qbec";
|
|
rev = "v${version}";
|
|
sha256 = "1g90z155nhcblr48qypw8qw3l8g4dz33iflv4cg4xrhwjp8dfbv9";
|
|
};
|
|
|
|
vendorSha256 = "15hbjghi2ifylg7nr85qlk0alsy97h9zj6hf5w84m76dla2bcjf3";
|
|
|
|
buildFlagsArray = ''
|
|
-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 ];
|
|
};
|
|
}
|