2019-09-21 10:22:00 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
2019-08-16 14:32:52 +01:00
|
|
|
|
2019-09-21 10:22:00 +01:00
|
|
|
buildGoPackage rec {
|
2019-08-16 14:32:52 +01:00
|
|
|
pname = "kubeless";
|
2020-07-02 14:06:20 +01:00
|
|
|
version = "1.0.7";
|
2019-08-16 14:32:52 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kubeless";
|
|
|
|
repo = "kubeless";
|
|
|
|
rev = "v${version}";
|
2020-07-02 14:06:20 +01:00
|
|
|
sha256 = "0x2hydywnnlh6arzz71p7gg9yzq5z2y2lppn1jszvkbgh11kkqfr";
|
2019-08-16 14:32:52 +01:00
|
|
|
};
|
2019-09-21 10:22:00 +01:00
|
|
|
|
|
|
|
goPackagePath = "github.com/kubeless/kubeless";
|
2019-08-16 14:32:52 +01:00
|
|
|
|
|
|
|
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;
|
2020-01-22 21:12:43 +00:00
|
|
|
maintainers = with maintainers; [];
|
2019-08-16 14:32:52 +01:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|