31 lines
757 B
Nix
31 lines
757 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule (finalAttrs: {
|
|
pname = "aws-lambda-runtime-interface-emulator";
|
|
version = "1.35";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "aws";
|
|
repo = "aws-lambda-runtime-interface-emulator";
|
|
rev = "v${finalAttrs.version}";
|
|
sha256 = "sha256-tO7ru3sdCWbdALcOmxQny7ak96utgABUvIaGThZRedw=";
|
|
};
|
|
|
|
vendorHash = "sha256-+7BuDaN1ns63cQOMKuRMjBo9GnLrmsubx/KppUsyheY=";
|
|
|
|
# disabled because I lack the skill
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Locally test Lambda functions packaged as container images";
|
|
mainProgram = "aws-lambda-rie";
|
|
homepage = "https://github.com/aws/aws-lambda-runtime-interface-emulator";
|
|
license = lib.licenses.asl20;
|
|
maintainers = [ ];
|
|
};
|
|
})
|