1{ lib, buildGoModule, fetchFromGitHub }:
2
3buildGoModule rec {
4 pname = "aws-lambda-runtime-interface-emulator";
5 version = "1.19";
6
7 src = fetchFromGitHub {
8 owner = "aws";
9 repo = "aws-lambda-runtime-interface-emulator";
10 rev = "v${version}";
11 sha256 = "sha256-z4drwdODY+FjrDpdXK7zXD1yiQmpdItzVjzKHj0ZTJk=";
12 };
13
14 vendorHash = "sha256-fGoqKDBg+O4uzGmhEIROsBvDS+6zWCzsXe8U6t98bqk=";
15
16 # disabled because I lack the skill
17 doCheck = false;
18
19 meta = with lib; {
20 description = "Locally test Lambda functions packaged as container images";
21 mainProgram = "aws-lambda-rie";
22 homepage = "https://github.com/aws/aws-lambda-runtime-interface-emulator";
23 license = licenses.asl20;
24 maintainers = with maintainers; [ teto ];
25 };
26}