b41113241d
GitOrigin-RevId: ae1dc133ea5f1538d035af41e5ddbc2ebcb67b90
37 lines
744 B
Nix
37 lines
744 B
Nix
{ lib
|
|
, aliyun-python-sdk-core
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aliyun-python-sdk-iot";
|
|
version = "8.44.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-hozd22BeDcFSLQS20+zWZancIgdFevuBbXkt7pe3HfY=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
aliyun-python-sdk-core
|
|
];
|
|
|
|
# All components are stored in a mono repo
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"aliyunsdkiot"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "IoT module of Aliyun Python SDK";
|
|
homepage = "https://github.com/aliyun/aliyun-openapi-python-sdk";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|