mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
33 lines
799 B
Nix
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 ];
|
|
};
|
|
}
|