13 buildPythonPackage rec {
16 format = "setuptools";
18 disabled = pythonOlder "3.7";
21 inherit pname version;
22 hash = "sha256-/fV2FX2CMt3jjpnJ4XjhfWVa1yWmWna7eYO/6npPxig=";
25 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
30 nativeBuildInputs = [ cmake ] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ perl ];
32 dontUseCmakeConfigure = true;
34 pythonImportsCheck = [ "awscrt" ];
36 # Unable to import test module
37 # https://github.com/awslabs/aws-crt-python/issues/281
41 homepage = "https://github.com/awslabs/aws-crt-python";
42 changelog = "https://github.com/awslabs/aws-crt-python/releases/tag/v${version}";
43 description = "Python bindings for the AWS Common Runtime";
44 license = licenses.asl20;
45 maintainers = with maintainers; [ davegallant ];