2020-06-15 12:51:21 +02:00
|
|
|
{ lib, go, buildGoModule, fetchFromGitHub }:
|
2019-09-14 01:40:58 +02:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "qbec";
|
2020-06-30 14:05:58 +02:00
|
|
|
version = "0.12.1";
|
2019-09-14 01:40:58 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "splunk";
|
|
|
|
repo = "qbec";
|
|
|
|
rev = "v${version}";
|
2020-06-30 14:05:58 +02:00
|
|
|
sha256 = "1g90z155nhcblr48qypw8qw3l8g4dz33iflv4cg4xrhwjp8dfbv9";
|
2019-09-14 01:40:58 +02:00
|
|
|
};
|
|
|
|
|
2020-06-15 03:59:09 +02:00
|
|
|
vendorSha256 = "15hbjghi2ifylg7nr85qlk0alsy97h9zj6hf5w84m76dla2bcjf3";
|
2019-09-14 01:40:58 +02:00
|
|
|
|
2020-08-04 02:26:27 +02:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-06-15 12:51:21 +02:00
|
|
|
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}
|
|
|
|
'';
|
|
|
|
|
2020-03-27 08:33:21 +01:00
|
|
|
meta = with lib; {
|
2019-09-14 01:40:58 +02:00
|
|
|
description = "Configure kubernetes objects on multiple clusters using jsonnet https://qbec.io";
|
2020-03-14 13:17:01 +01:00
|
|
|
homepage = "https://github.com/splunk/qbec";
|
2019-09-14 01:40:58 +02:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ groodt ];
|
|
|
|
};
|
2020-06-15 12:51:21 +02:00
|
|
|
}
|