nixpkgs/pkgs/development/python-modules/azure-mgmt-monitor/default.nix
2021-01-15 11:55:31 -08:00

44 lines
844 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, python
, isPy3k
, msrest
, msrestazure
, azure-common
, azure-mgmt-core
, azure-mgmt-nspkg
}:
buildPythonPackage rec {
pname = "azure-mgmt-monitor";
version = "2.0.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "e7f7943fe8f0efe98b3b1996cdec47c709765257a6e09e7940f7838a0f829e82";
};
propagatedBuildInputs = [
msrest
msrestazure
azure-common
azure-mgmt-core
] ++ lib.optionals (!isPy3k) [
azure-mgmt-nspkg
];
pythonNamespaces = [ "azure.mgmt" ];
# has no tests
doCheck = false;
meta = with lib; {
description = "This is the Microsoft Azure Monitor Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ maxwilson ];
};
}