2019-04-29 23:51:26 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2019-10-24 17:06:13 +01:00
|
|
|
, python
|
|
|
|
, isPy3k
|
2019-04-29 23:51:26 +01:00
|
|
|
, msrest
|
|
|
|
, msrestazure
|
|
|
|
, azure-common
|
2020-09-28 18:14:38 +01:00
|
|
|
, azure-mgmt-core
|
2019-04-29 23:51:26 +01:00
|
|
|
, azure-mgmt-nspkg
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "azure-mgmt-monitor";
|
2020-09-28 18:14:38 +01:00
|
|
|
version = "1.0.1";
|
2019-04-29 23:51:26 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
2020-09-28 18:14:38 +01:00
|
|
|
sha256 = "04bd89d74fe47f966b09e3256ffefcfa5c1a51057a6b33c092afe5ae17a1a7b7";
|
2019-04-29 23:51:26 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
msrest
|
|
|
|
msrestazure
|
|
|
|
azure-common
|
2020-09-28 18:14:38 +01:00
|
|
|
azure-mgmt-core
|
2019-04-29 23:51:26 +01:00
|
|
|
] ++ lib.optionals (!isPy3k) [
|
|
|
|
azure-mgmt-nspkg
|
|
|
|
];
|
|
|
|
|
2020-03-17 22:43:56 +00:00
|
|
|
pythonNamespaces = [ "azure.mgmt" ];
|
2019-10-24 17:06:13 +01:00
|
|
|
|
2019-04-29 23:51:26 +01:00
|
|
|
# has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "This is the Microsoft Azure Monitor Client Library";
|
2019-10-19 17:47:11 +01:00
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
2019-04-29 23:51:26 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ mwilsoninsight ];
|
|
|
|
};
|
|
|
|
}
|