13 buildPythonPackage rec {
16 format = "setuptools";
18 disabled = pythonOlder "3.7";
21 inherit pname version;
22 hash = "sha256-JDeFrJ7mSUXgR5wjhDJVRfKVl1dXQ86Ew3FVbRAU5j4=";
25 buildInputs = lib.optionals stdenv.isDarwin [
30 # gcc <10 is not supported, LLVM on darwin is just fine
33 ] ++ lib.optionals (!stdenv.isDarwin && stdenv.isAarch64) [
38 dontUseCmakeConfigure = true;
40 pythonImportsCheck = [
44 # Unable to import test module
45 # https://github.com/awslabs/aws-crt-python/issues/281
49 homepage = "https://github.com/awslabs/aws-crt-python";
50 changelog = "https://github.com/awslabs/aws-crt-python/releases/tag/v${version}";
51 description = "Python bindings for the AWS Common Runtime";
52 license = licenses.asl20;
53 maintainers = with maintainers; [ davegallant ];