2019-04-29 22:43:37 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, msrest
|
|
|
|
, msrestazure
|
|
|
|
, azure-common
|
2021-01-12 00:19:22 +00:00
|
|
|
, azure-mgmt-core
|
2019-04-29 22:43:37 +00:00
|
|
|
, azure-mgmt-nspkg
|
|
|
|
, isPy3k
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "azure-mgmt-iothub";
|
2021-01-12 00:19:22 +00:00
|
|
|
version = "1.0.0";
|
2019-04-29 22:43:37 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
2021-01-12 00:19:22 +00:00
|
|
|
sha256 = "7acf24088395a299974dd26406db2686d8d59a3fffbe47c24617b36d445f2de8";
|
2019-04-29 22:43:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2021-01-12 00:19:22 +00:00
|
|
|
azure-common
|
|
|
|
azure-mgmt-core
|
2019-04-29 22:43:37 +00: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 16:47:11 +00:00
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
2019-04-29 22:43:37 +00:00
|
|
|
license = licenses.mit;
|
2020-11-15 14:35:46 +00:00
|
|
|
maintainers = with maintainers; [ maxwilson ];
|
2019-04-29 22:43:37 +00:00
|
|
|
};
|
|
|
|
}
|