nixpkgs/pkgs/development/python-modules/azure-mgmt-monitor/default.nix

42 lines
800 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, python
, isPy3k
, msrest
, msrestazure
, azure-common
, azure-mgmt-nspkg
}:
buildPythonPackage rec {
pname = "azure-mgmt-monitor";
version = "0.10.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "0r3l55mhd00zx8sw13d7i9l7r214946s1y3wxcswxad7q5660zfm";
};
propagatedBuildInputs = [
msrest
msrestazure
azure-common
] ++ 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; [ mwilsoninsight ];
};
}