python3Packages.awsiotpythonsdk: disable on older Python releases

This commit is contained in:
Fabian Affolter 2022-01-19 20:19:16 +01:00 committed by GitHub
parent a085e442dc
commit f9be5c7556
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,11 +1,15 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "AWSIoTPythonSDK";
version = "1.5.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "aws";
@ -14,9 +18,12 @@ buildPythonPackage rec {
sha256 = "0bmvwv471mvlwj2rfz08j9qvzsp4vyjz67cbzkvsy6kmihx3wfqh";
};
# Project has no tests
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "AWSIoTPythonSDK" ];
pythonImportsCheck = [
"AWSIoTPythonSDK"
];
meta = with lib; {
description = "Python SDK for connecting to AWS IoT";