nixpkgs/pkgs/applications/networking/cluster/kubeless/default.nix

30 lines
717 B
Nix
Raw Normal View History

2019-09-21 11:22:00 +02:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
2019-08-16 15:32:52 +02:00
2019-09-21 11:22:00 +02:00
buildGoPackage rec {
2019-08-16 15:32:52 +02:00
pname = "kubeless";
version = "1.0.4";
src = fetchFromGitHub {
owner = "kubeless";
repo = "kubeless";
rev = "v${version}";
sha256 = "1f5w6kn9rsaxx9nf6kzyjkzm3s9ycy1c8h78hb61v4x915xd3040";
};
2019-09-21 11:22:00 +02:00
goPackagePath = "github.com/kubeless/kubeless";
2019-08-16 15:32:52 +02: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 22:12:43 +01:00
maintainers = with maintainers; [];
2019-08-16 15:32:52 +02:00
platforms = platforms.unix;
};
}