biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / awsiotpythonsdk / default.nix
blob3fd9258df22cbbaba7b266fa4c088ca08d50b42a
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
6   setuptools,
7 }:
9 buildPythonPackage rec {
10   pname = "awsiotpythonsdk";
11   version = "1.5.4";
12   pyproject = true;
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "aws";
18     repo = "aws-iot-device-sdk-python";
19     rev = "refs/tags/v${version}";
20     hash = "sha256-TUNIWGal7NQy2qmHVTiw6eX4t/Yt3NnM3HHztBwMfoM=";
21   };
23   nativeBuildInputs = [ setuptools ];
25   # Module has no tests
26   doCheck = false;
28   pythonImportsCheck = [ "AWSIoTPythonSDK" ];
30   meta = with lib; {
31     description = "Python SDK for connecting to AWS IoT";
32     homepage = "https://github.com/aws/aws-iot-device-sdk-python";
33     changelog = "https://github.com/aws/aws-iot-device-sdk-python/releases/tag/v${version}";
34     license = with licenses; [ asl20 ];
35     maintainers = with maintainers; [ fab ];
36   };