2021-03-20 04:20:00 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "aws-lambda-runtime-interface-emulator";
|
2022-09-30 11:47:45 +00:00
|
|
|
version = "1.8";
|
2021-03-20 04:20:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "aws";
|
|
|
|
repo = "aws-lambda-runtime-interface-emulator";
|
|
|
|
rev = "v${version}";
|
2022-09-30 11:47:45 +00:00
|
|
|
sha256 = "sha256-KpMfgPcBih4pRKwTBExy080HIkx3i0M1EujU4yqj6p8=";
|
2021-03-20 04:20:00 +00:00
|
|
|
};
|
|
|
|
|
2022-02-10 20:34:41 +00:00
|
|
|
vendorSha256 = "sha256-ncUtJKJnWiut0ZVKm3MLWKq8eyHrTgv6Nva8xcvvqSI=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|