Merge pull request #244441 from janvotava/master

timoni: init at 0.10.0

authored by

Emily and committed by
GitHub
b370d44b 0e2ae649

+54
+6
maintainers/maintainer-list.nix
··· 17610 17610 githubId = 3413119; 17611 17611 name = "Vonfry"; 17612 17612 }; 17613 + votava = { 17614 + email = "votava@gmail.com"; 17615 + github = "janvotava"; 17616 + githubId = 367185; 17617 + name = "Jan Votava"; 17618 + }; 17613 17619 vq = { 17614 17620 email = "vq@erq.se"; 17615 17621 github = "vq";
+46
pkgs/applications/networking/cluster/timoni/default.nix
··· 1 + { lib 2 + , buildGoModule 3 + , fetchFromGitHub 4 + , installShellFiles 5 + }: 6 + 7 + buildGoModule rec { 8 + pname = "timoni"; 9 + version = "0.10.0"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "stefanprodan"; 13 + repo = "timoni"; 14 + rev = "v${version}"; 15 + hash = "sha256-D49jpwldmtS7/+++4avqAGOhILaHmlUvnfjoV45KVc4="; 16 + }; 17 + 18 + vendorHash = "sha256-QWNYBHxcKyAexnD6bHfJIDSOEST2J/09YKC/kDsXKHU="; 19 + 20 + subPackages = [ "cmd/timoni" ]; 21 + nativeBuildInputs = [ installShellFiles ]; 22 + 23 + # Some tests require running Kubernetes instance 24 + doCheck = false; 25 + 26 + ldflags = [ 27 + "-s" 28 + "-w" 29 + "-X main.VERSION=${version}" 30 + ]; 31 + 32 + postInstall = '' 33 + installShellCompletion --cmd timoni \ 34 + --bash <($out/bin/timoni completion bash) \ 35 + --fish <($out/bin/timoni completion fish) \ 36 + --zsh <($out/bin/timoni completion zsh) 37 + ''; 38 + 39 + meta = with lib; { 40 + homepage = "https://timoni.sh"; 41 + changelog = "https://github.com/stefanprodan/timoni/releases/tag/${src.rev}"; 42 + description = "A package manager for Kubernetes, powered by CUE and inspired by Helm"; 43 + license = licenses.asl20; 44 + maintainers = with maintainers; [ votava ]; 45 + }; 46 + }
+2
pkgs/top-level/all-packages.nix
··· 32879 32879 electron = electron_22; 32880 32880 }; 32881 32881 32882 + timoni = callPackage ../applications/networking/cluster/timoni { }; 32883 + 32882 32884 kvirc = libsForQt5.callPackage ../applications/networking/irc/kvirc { }; 32883 32885 32884 32886 lame = callPackage ../development/libraries/lame { };