2021-03-22 17:47:06 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "aws-lambda-runtime-interface-emulator";
|
2022-02-10 08:04:15 +00:00
|
|
|
version = "1.3";
|
2021-03-22 17:47:06 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "aws";
|
|
|
|
repo = "aws-lambda-runtime-interface-emulator";
|
|
|
|
rev = "v${version}";
|
2022-02-10 08:04:15 +00:00
|
|
|
sha256 = "sha256-h4T4Go5gzKF1g1jSNZkx5U0icFxEZMYyS4L6cZMTFEY=";
|
2021-03-22 17:47:06 +00:00
|
|
|
};
|
|
|
|
|
2022-02-10 08:04:15 +00:00
|
|
|
vendorSha256 = "sha256-ncUtJKJnWiut0ZVKm3MLWKq8eyHrTgv6Nva8xcvvqSI=";
|
2021-03-22 17:47:06 +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 ];
|
|
|
|
};
|
|
|
|
}
|