nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 34 lines 826 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6}: 7 8buildPythonPackage (finalAttrs: { 9 pname = "awsiotpythonsdk"; 10 version = "1.6.0"; 11 pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "aws"; 15 repo = "aws-iot-device-sdk-python"; 16 tag = "v${finalAttrs.version}"; 17 hash = "sha256-Jwj07yAl9LrHRy1y3cjipObqEcwP+j+a5dcvXj02kgA="; 18 }; 19 20 nativeBuildInputs = [ setuptools ]; 21 22 # Module has no tests 23 doCheck = false; 24 25 pythonImportsCheck = [ "AWSIoTPythonSDK" ]; 26 27 meta = { 28 description = "Python SDK for connecting to AWS IoT"; 29 homepage = "https://github.com/aws/aws-iot-device-sdk-python"; 30 changelog = "https://github.com/aws/aws-iot-device-sdk-python/releases/tag/${finalAttrs.src.tag}"; 31 license = lib.licenses.asl20; 32 maintainers = with lib.maintainers; [ fab ]; 33 }; 34})