1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/networking/cluster/qbec/default.nix

33 lines
896 B
Nix
Raw Normal View History

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-01-22 20:17:27 +00:00
version = "0.13.4";
2019-09-14 00:40:58 +01:00
src = fetchFromGitHub {
owner = "splunk";
repo = "qbec";
rev = "v${version}";
2021-01-22 20:17:27 +00:00
sha256 = "sha256-jbGEkBBXb1dDv4E7vEPVyvDahz27Kpyo3taenCH/vfw=";
2019-09-14 00:40:58 +01:00
};
2021-01-22 20:17:27 +00:00
vendorSha256 = "sha256-rzxtLaGUl8hxcJ+GWlrkjN+f7mb0lXrtkHj/pBO8HzQ=";
2019-09-14 00:40:58 +01:00
doCheck = false;
2020-06-15 11:51:21 +01: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}
'';
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
}