1 { lib, buildPythonPackage, fetchFromGitHub, isPy27, pytestCheckHook, autoconf
2 , automake, cmake, gcc, libtool, perl, simplejson }:
4 buildPythonPackage rec {
5 pname = "awslambdaric";
9 src = fetchFromGitHub {
11 repo = "aws-lambda-python-runtime-interface-client";
13 sha256 = "13v1lsp3lxbqknvlb3gvljjf3wyrx5jg8sf9yfiaj1sm8pb8pmrf";
16 propagatedBuildInputs = [ simplejson ];
18 nativeBuildInputs = [ autoconf automake cmake libtool perl ];
20 buildInputs = [ gcc ];
22 dontUseCmakeConfigure = true;
24 checkInputs = [ pytestCheckHook ];
26 pythonImportsCheck = [ "awslambdaric" "runtime_client" ];
29 description = "AWS Lambda Runtime Interface Client for Python";
30 homepage = "https://github.com/aws/aws-lambda-python-runtime-interface-client";
31 license = licenses.asl20;
32 maintainers = with maintainers; [ austinbutler ];
33 platforms = platforms.linux;