nixos/uptime-kuma: Add additional lockdown settings to systemd unit (#361452)
[NixPkgs.git] / pkgs / by-name / aw / aws-lambda-rie / package.nix
blob04abcfbcbbf1f1d8d80e3c3e8510c1ceaa0c14a2
1 { lib, buildGoModule, fetchFromGitHub }:
3 buildGoModule rec {
4   pname = "aws-lambda-runtime-interface-emulator";
5   version = "1.20";
7   src = fetchFromGitHub {
8     owner = "aws";
9     repo = "aws-lambda-runtime-interface-emulator";
10     rev = "v${version}";
11     sha256 = "sha256-cpfzjXjufiCe6AJsTj08vJ719MztHwY+6fMnk8vR82k=";
12   };
14   vendorHash = "sha256-fGoqKDBg+O4uzGmhEIROsBvDS+6zWCzsXe8U6t98bqk=";
16   # disabled because I lack the skill
17   doCheck = false;
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   };