nixpkgs/pkgs/tools/admin/aws-lambda-runtime-interface-emulator/default.nix

26 lines
722 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "aws-lambda-runtime-interface-emulator";
version = "1.15";
src = fetchFromGitHub {
owner = "aws";
repo = "aws-lambda-runtime-interface-emulator";
rev = "v${version}";
sha256 = "sha256-ogsWAAm/rEol+UFBqgMSowb78BbQKeGyeJ7UVp/p4js=";
};
vendorHash = "sha256-8HRYGpMNZuPBzhp73lGvbJgA5WivMNrBa2wUw/+LX5M=";
# disabled because I lack the skill
doCheck = false;
meta = with lib; {
description = "Locally test Lambda functions packaged as container images";
homepage = "https://github.com/aws/aws-lambda-runtime-interface-emulator";
license = licenses.asl20;
maintainers = with maintainers; [ teto ];
};
}