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

44 lines
849 B
Nix
Raw Normal View History

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