1{ 2 stdenv, 3 lib, 4 buildPythonPackage, 5 fetchFromGitHub, 6 isPy27, 7 pytestCheckHook, 8 autoconf271, 9 automake, 10 cmake, 11 gcc, 12 libtool, 13 parameterized, 14 perl, 15 setuptools, 16 simplejson, 17}: 18buildPythonPackage rec { 19 pname = "awslambdaric"; 20 version = "3.0.0"; 21 pyproject = true; 22 23 disabled = isPy27; 24 25 src = fetchFromGitHub { 26 owner = "aws"; 27 repo = "aws-lambda-python-runtime-interface-client"; 28 tag = version; 29 sha256 = "sha256-pUVWd4zpmTygndPIy76uVk7+sLCmwQqulLaUI7B0fQc="; 30 }; 31 32 propagatedBuildInputs = [ simplejson ]; 33 34 nativeBuildInputs = [ 35 autoconf271 36 automake 37 cmake 38 libtool 39 perl 40 setuptools 41 ]; 42 43 buildInputs = [ gcc ]; 44 45 dontUseCmakeConfigure = true; 46 47 nativeCheckInputs = [ 48 parameterized 49 pytestCheckHook 50 ]; 51 52 pythonImportsCheck = [ 53 "awslambdaric" 54 "runtime_client" 55 ]; 56 57 meta = with lib; { 58 broken = stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64; 59 description = "AWS Lambda Runtime Interface Client for Python"; 60 homepage = "https://github.com/aws/aws-lambda-python-runtime-interface-client"; 61 license = licenses.asl20; 62 maintainers = with maintainers; [ austinbutler ]; 63 platforms = platforms.linux; 64 }; 65}