1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pythonOlder 5}: 6 7buildPythonPackage rec { 8 pname = "AWSIoTPythonSDK"; 9 version = "1.5.2"; 10 format = "setuptools"; 11 12 disabled = pythonOlder "3.7"; 13 14 src = fetchFromGitHub { 15 owner = "aws"; 16 repo = "aws-iot-device-sdk-python"; 17 rev = "refs/tags/v${version}"; 18 hash = "sha256-GHMnDRxXkaKDTaawwPtMqa7EZJ8Y35+ScgtfEP9PJGs="; 19 }; 20 21 # Module has no tests 22 doCheck = false; 23 24 pythonImportsCheck = [ 25 "AWSIoTPythonSDK" 26 ]; 27 28 meta = with lib; { 29 description = "Python SDK for connecting to AWS IoT"; 30 homepage = "https://github.com/aws/aws-iot-device-sdk-python"; 31 license = with licenses; [ asl20 ]; 32 maintainers = with maintainers; [ fab ]; 33 }; 34}