python311Packages.awsiotpythonsdk: refactor

This commit is contained in:
Fabian Affolter
2024-02-15 10:36:16 +01:00
parent 57ce23c730
commit ba53276760
@@ -2,12 +2,13 @@
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "AWSIoTPythonSDK";
pname = "awsiotpythonsdk";
version = "1.5.2";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
@@ -18,6 +19,10 @@ buildPythonPackage rec {
hash = "sha256-GHMnDRxXkaKDTaawwPtMqa7EZJ8Y35+ScgtfEP9PJGs=";
};
nativeBuildInputs = [
setuptools
];
# Module has no tests
doCheck = false;
@@ -28,6 +33,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python SDK for connecting to AWS IoT";
homepage = "https://github.com/aws/aws-iot-device-sdk-python";
changelog = "https://github.com/aws/aws-iot-device-sdk-python/releases/tag/v${version}";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};