depot/third_party/nixpkgs/pkgs/development/python-modules/aliyun-python-sdk-iot/default.nix
Default email b450903751 Project import generated by Copybara.
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
2022-09-09 16:08:57 +02:00

37 lines
744 B
Nix

{ lib
, aliyun-python-sdk-core
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "aliyun-python-sdk-iot";
version = "8.42.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-pp1objaT0Galxz91V1OoMfogYQyZ1lZC6XGFd4wSTq8=";
};
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 ];
};
}