Merge pull request #21107 from NixOS/revert-21075-kubernetes-helm

Revert "helm (kubernetes): init at v2.0.2"
This commit is contained in:
Jaka Hudoklin 2016-12-13 00:36:05 +01:00 committed by GitHub
commit ee3087f5c0
3 changed files with 0 additions and 48 deletions

@ -384,7 +384,6 @@
retrry = "Tadas Barzdžius <retrry@gmail.com>";
rick68 = "Wei-Ming Yang <rick68@gmail.com>";
rickynils = "Rickard Nilsson <rickynils@gmail.com>";
rlupton20 = "Richard Lupton <richard.lupton@gmail.com>";
rnhmjoj = "Michele Guerini Rocco <micheleguerinirocco@me.com>";
rob = "Rob Vermaas <rob.vermaas@gmail.com>";
robberer = "Longrin Wischnewski <robberer@freakmail.de>";

@ -1,45 +0,0 @@
{ stdenv, fetchurl, kubernetes }:
let
arch = if stdenv.isLinux
then "linux-amd64"
else "darwin-amd64";
checksum = if stdenv.isLinux
then "dad3791fb07e6cf34f4cf611728cb8ae109a75234498a888529a68ac6923f200"
else "d27bd7e40e12c0a5f08782a8a883166008565b28e0b82126d2089300ff3f8465";
in
stdenv.mkDerivation rec {
pname = "helm";
version = "2.0.2";
name = "${pname}-${version}";
src = fetchurl {
url = "https://kubernetes-helm.storage.googleapis.com/helm-v${version}-${arch}.tar.gz";
sha256 = "${checksum}";
};
preferLocalBuild = true;
buildInputs = [ ];
propagatedBuildInputs = [ kubernetes ];
phases = [ "buildPhase" "installPhase" ];
buildPhase = ''
mkdir -p $out/bin
'';
installPhase = ''
tar -xvzf $src
cp ${arch}/helm $out/bin/${pname}
chmod +x $out/bin/${pname}
'';
meta = with stdenv.lib; {
homepage = https://github.com/kubernetes/helm;
description = "A package manager for kubernetes";
license = licenses.asl20;
maintainers = [ maintainers.rlupton20 ];
platforms = platforms.linux ++ platforms.darwin;
};
}

@ -13360,8 +13360,6 @@ in
hello = callPackage ../applications/misc/hello { };
kubernetes-helm = callPackage ../applications/networking/cluster/helm { };
helmholtz = callPackage ../applications/audio/pd-plugins/helmholtz { };
heme = callPackage ../applications/editors/heme { };