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

26 lines
733 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "aws-lambda-runtime-interface-emulator";
version = "1.8";
src = fetchFromGitHub {
owner = "aws";
repo = "aws-lambda-runtime-interface-emulator";
rev = "v${version}";
sha256 = "sha256-KpMfgPcBih4pRKwTBExy080HIkx3i0M1EujU4yqj6p8=";
};
vendorSha256 = "sha256-ncUtJKJnWiut0ZVKm3MLWKq8eyHrTgv6Nva8xcvvqSI=";
# 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 ];
};
}