nixpkgs/pkgs/applications/networking/cluster/kluctl/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
799 B
Nix
Raw Normal View History

2022-09-16 21:12:33 +00:00
{ lib, stdenv, buildGoModule, fetchFromGitHub, testers, kluctl }:
buildGoModule rec {
pname = "kluctl";
2022-10-28 20:47:18 +00:00
version = "2.16.1";
2022-09-16 21:12:33 +00:00
src = fetchFromGitHub {
owner = "kluctl";
repo = "kluctl";
rev = "v${version}";
2022-10-28 20:47:18 +00:00
hash = "sha256-rcwtVhtLc49rD6J3AZFumLQrZuTveE7OY+agufe/4MQ=";
2022-09-16 21:12:33 +00:00
};
vendorHash = "sha256-IC+sjctDqd0lQD5labl+UYWsRiptQKSjSHYf2SGkp14=";
ldflags = [ "-s" "-w" "-X main.version=v${version}" ];
# Depends on docker
doCheck = false;
passthru.tests.version = testers.testVersion {
package = kluctl;
version = "v${version}";
};
meta = with lib; {
description = "The missing glue to put together large Kubernetes deployments";
homepage = "https://kluctl.io/";
license = licenses.asl20;
maintainers = with maintainers; [ sikmir ];
};
}