nixpkgs/pkgs/applications/networking/cluster/kluctl/default.nix
2023-01-13 15:58:12 +00:00

33 lines
799 B
Nix

{ lib, stdenv, buildGoModule, fetchFromGitHub, testers, kluctl }:
buildGoModule rec {
pname = "kluctl";
version = "2.18.4";
src = fetchFromGitHub {
owner = "kluctl";
repo = "kluctl";
rev = "v${version}";
hash = "sha256-nHfJ7Dt9nAY4fY+U7W46cPRwWSgtGvwdbUjQAynOQdw=";
};
vendorHash = "sha256-ADYXLcCYmlQim9KvqkXGdEXJ9cACBsRCb3emcmrL0kg=";
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 ];
};
}