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