2019-04-29 15:43:37 -07:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, msrest
|
|
|
|
, msrestazure
|
|
|
|
, azure-common
|
2021-01-11 16:19:22 -08:00
|
|
|
, azure-mgmt-core
|
2019-04-29 15:43:37 -07:00
|
|
|
, azure-mgmt-nspkg
|
|
|
|
, isPy3k
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "azure-mgmt-iothub";
|
2021-05-20 22:27:24 -07:00
|
|
|
version = "2.0.0";
|
2019-04-29 15:43:37 -07:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
2021-05-20 22:27:24 -07:00
|
|
|
sha256 = "653a765f0beb6af0c9ecbd290b4101e1b5e0f6450405faf28ab8234c15d8b38b";
|
2019-04-29 15:43:37 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2021-01-11 16:19:22 -08:00
|
|
|
azure-common
|
|
|
|
azure-mgmt-core
|
2019-04-29 15:43:37 -07:00
|
|
|
msrest
|
|
|
|
msrestazure
|
|
|
|
] ++ lib.optionals (!isPy3k) [
|
|
|
|
azure-mgmt-nspkg
|
|
|
|
];
|
|
|
|
|
|
|
|
# has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "This is the Microsoft Azure IoTHub Management Client Library";
|
2019-10-19 09:47:11 -07:00
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
2019-04-29 15:43:37 -07:00
|
|
|
license = licenses.mit;
|
2020-11-15 06:35:46 -08:00
|
|
|
maintainers = with maintainers; [ maxwilson ];
|
2019-04-29 15:43:37 -07:00
|
|
|
};
|
|
|
|
}
|