add helm2
This commit is contained in:
parent
fc72eed505
commit
5b3fee0d47
2 changed files with 30 additions and 0 deletions
29
packages/helm2.nix
Normal file
29
packages/helm2.nix
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
with import <nixpkgs> {};
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "helm2";
|
||||||
|
version = "2.14.3";
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://get.helm.sh/helm-v${version}-linux-amd64.tar.gz";
|
||||||
|
sha256 = "38614a665859c0f01c9c1d84fa9a5027364f936814d1e47839b05327e400bf55";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
autoPatchelfHook
|
||||||
|
];
|
||||||
|
|
||||||
|
unpackPhase = ''
|
||||||
|
tar xvpzf $src
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
install -m 755 -D linux-amd64/helm $out/bin/helm2
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = "https://helm.sh";
|
||||||
|
description = "helms depricated v2 verison";
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ foosinn ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -18,6 +18,7 @@ in {
|
||||||
fuse-overlayfs
|
fuse-overlayfs
|
||||||
|
|
||||||
(import ../packages/skaffold.nix)
|
(import ../packages/skaffold.nix)
|
||||||
|
(import ../packages/helm2.nix)
|
||||||
];
|
];
|
||||||
|
|
||||||
virtualisation.podman = {
|
virtualisation.podman = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue