2019-04-30 00:14:31 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2019-10-23 12:04:24 +02:00
|
|
|
, python
|
2019-04-30 00:14:31 +02:00
|
|
|
, fetchPypi
|
|
|
|
, msrest
|
|
|
|
, msrestazure
|
|
|
|
, azure-common
|
|
|
|
, azure-mgmt-nspkg
|
|
|
|
, isPy3k
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "azure-mgmt-applicationinsights";
|
2020-04-22 23:58:36 +02:00
|
|
|
version = "0.3.0";
|
2019-04-30 00:14:31 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
2020-04-22 23:58:36 +02:00
|
|
|
sha256 = "3c788a54db4fbca1a8850151462ec1471ff59c86b3a10d6082952bbdaa7e6651";
|
2019-04-30 00:14:31 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
msrest
|
|
|
|
msrestazure
|
|
|
|
azure-common
|
|
|
|
] ++ lib.optionals (!isPy3k) [
|
|
|
|
azure-mgmt-nspkg
|
|
|
|
];
|
|
|
|
|
2020-03-17 23:43:56 +01:00
|
|
|
pythonNamespaces = [ "azure.mgmt" ];
|
2019-10-23 12:04:24 +02:00
|
|
|
|
2019-04-30 00:14:31 +02:00
|
|
|
# has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "This is the Microsoft Azure Application Insights Management Client Library";
|
2019-10-19 18:47:11 +02:00
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
2019-04-30 00:14:31 +02:00
|
|
|
license = licenses.mit;
|
2020-02-10 23:31:10 +01:00
|
|
|
maintainers = with maintainers; [ jonringer mwilsoninsight ];
|
2019-04-30 00:14:31 +02:00
|
|
|
};
|
|
|
|
}
|