2020-06-15 11:51:21 +01:00
|
|
|
{ lib, go, buildGoModule, fetchFromGitHub }:
|
2019-09-14 00:40:58 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "qbec";
|
2021-09-14 22:29:41 +01:00
|
|
|
version = "0.14.8";
|
2019-09-14 00:40:58 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "splunk";
|
|
|
|
repo = "qbec";
|
|
|
|
rev = "v${version}";
|
2021-09-14 22:29:41 +01:00
|
|
|
sha256 = "sha256-awuYmazBx7zv/WuDsePzdWNRcpAzLK7lf4L2W2Jbt3A=";
|
2019-09-14 00:40:58 +01:00
|
|
|
};
|
|
|
|
|
2021-08-17 17:09:42 +01:00
|
|
|
vendorSha256 = "sha256-VOBRQJzATaY9DNRhZvYTRpoISikbzUAwS/1hUfce/44=";
|
2019-09-14 00:40:58 +01:00
|
|
|
|
2020-08-04 01:26:27 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-08-23 05:55:51 +01:00
|
|
|
ldflags = [
|
2021-08-26 07:45:51 +01:00
|
|
|
"-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}"
|
2021-08-23 05:55:51 +01:00
|
|
|
];
|
2020-06-15 11:51:21 +01:00
|
|
|
|
2020-03-27 07:33:21 +00:00
|
|
|
meta = with lib; {
|
2019-09-14 00:40:58 +01:00
|
|
|
description = "Configure kubernetes objects on multiple clusters using jsonnet https://qbec.io";
|
2020-03-14 12:17:01 +00:00
|
|
|
homepage = "https://github.com/splunk/qbec";
|
2019-09-14 00:40:58 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ groodt ];
|
|
|
|
};
|
2020-06-15 11:51:21 +01:00
|
|
|
}
|