timoni: init at 0.10.0
This commit is contained in:
parent
531b083070
commit
83c185b899
46
pkgs/applications/networking/cluster/timoni/default.nix
Normal file
46
pkgs/applications/networking/cluster/timoni/default.nix
Normal file
@ -0,0 +1,46 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, installShellFiles
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "timoni";
|
||||
version = "0.10.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stefanprodan";
|
||||
repo = "timoni";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-D49jpwldmtS7/+++4avqAGOhILaHmlUvnfjoV45KVc4=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-QWNYBHxcKyAexnD6bHfJIDSOEST2J/09YKC/kDsXKHU=";
|
||||
|
||||
subPackages = [ "cmd/timoni" ];
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
# Some tests require running Kubernetes instance
|
||||
doCheck = false;
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X main.VERSION=${version}"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
installShellCompletion --cmd timoni \
|
||||
--bash <($out/bin/timoni completion bash) \
|
||||
--fish <($out/bin/timoni completion fish) \
|
||||
--zsh <($out/bin/timoni completion zsh)
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://timoni.sh";
|
||||
changelog = "https://github.com/stefanprodan/timoni/releases/tag/${src.rev}";
|
||||
description = "A package manager for Kubernetes, powered by CUE and inspired by Helm";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ votava ];
|
||||
};
|
||||
}
|
@ -32790,6 +32790,8 @@ with pkgs;
|
||||
electron = electron_22;
|
||||
};
|
||||
|
||||
timoni = callPackage ../applications/networking/cluster/timoni { };
|
||||
|
||||
kvirc = libsForQt5.callPackage ../applications/networking/irc/kvirc { };
|
||||
|
||||
lame = callPackage ../development/libraries/lame { };
|
||||
|
Loading…
Reference in New Issue
Block a user