kubeless: init at 1.0.4

This commit is contained in:
Matt Smith 2019-08-16 14:32:52 +01:00
parent 0ce6eb4b59
commit 46750099c1
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "kubeless";
version = "1.0.4";
src = fetchFromGitHub {
owner = "kubeless";
repo = "kubeless";
rev = "v${version}";
sha256 = "1f5w6kn9rsaxx9nf6kzyjkzm3s9ycy1c8h78hb61v4x915xd3040";
};
modSha256 = "1pw4pwb8z2kq474jjipjdivlrin5zvw8d2if4317b0w0wyp6isgd";
subPackages = [ "cmd/kubeless" ];
buildFlagsArray = ''
-ldflags=-X github.com/kubeless/kubeless/pkg/version.Version=${version}
'';
meta = with stdenv.lib; {
homepage = "https://kubeless.io";
description = "The Kubernetes Native Serverless Framework";
license = licenses.asl20;
maintainers = with maintainers; [ "00-matt" ];
platforms = platforms.unix;
};
}

View file

@ -19141,6 +19141,8 @@ in
kubectl = callPackage ../applications/networking/cluster/kubectl { };
kubeless = callPackage ../applications/networking/cluster/kubeless { };
k9s = callPackage ../applications/networking/cluster/k9s { };
fluxctl = callPackage ../applications/networking/cluster/fluxctl { };