2019-07-27 21:22:23 +02:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "fluxctl";
|
2019-12-03 12:51:28 +01:00
|
|
|
version = "1.16.0";
|
2019-07-27 21:22:23 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "weaveworks";
|
|
|
|
repo = "flux";
|
|
|
|
rev = version;
|
2019-12-03 12:51:28 +01:00
|
|
|
sha256 = "1yk78w9cwssk5y69iapfzqf7mnrkam3w64x4zsx3zjpdmvp9dq7l";
|
2019-07-27 21:22:23 +02:00
|
|
|
};
|
|
|
|
|
2019-12-03 12:51:28 +01:00
|
|
|
modSha256 = "17rh8yilxqv0dwljwm5ay43diwcy5pa1g2jff9wyhsh8q7sy9wln";
|
2019-07-27 21:22:23 +02:00
|
|
|
|
|
|
|
subPackages = [ "cmd/fluxctl" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "CLI client for Flux, the GitOps Kubernetes operator";
|
2019-12-03 12:51:28 +01:00
|
|
|
homepage = "https://github.com/fluxcd/flux";
|
2019-07-27 21:22:23 +02:00
|
|
|
license = licenses.asl20;
|
2019-12-03 12:51:46 +01:00
|
|
|
maintainers = with maintainers; [ Gonzih filalex77 ];
|
2019-07-27 21:22:23 +02:00
|
|
|
};
|
|
|
|
}
|