Commit ba532767 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python311Packages.awsiotpythonsdk: refactor

parent 57ce23c7
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -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 ];
  };