2021-03-20 04:20:00 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "aws-lambda-runtime-interface-emulator";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "1.12";
|
2021-03-20 04:20:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "aws";
|
|
|
|
repo = "aws-lambda-runtime-interface-emulator";
|
|
|
|
rev = "v${version}";
|
2023-07-15 17:15:38 +00:00
|
|
|
sha256 = "sha256-4uUyrPLDmmPv2Z6M3czwKe8BXe5BWJbfgf5FC/74pog=";
|
2021-03-20 04:20:00 +00:00
|
|
|
};
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
vendorHash = "sha256-0b4yjyPnE7xPmW5N1Zu/tH50gHj46TnHkycNFDzIjy8=";
|
2021-03-20 04:20:00 +00:00
|
|
|
|
|
|
|
# disabled because I lack the skill
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "To locally test their Lambda function packaged as a container image.";
|
|
|
|
homepage = "https://github.com/aws/aws-lambda-runtime-interface-emulator";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ teto ];
|
|
|
|
};
|
|
|
|
}
|