Merge pull request #201616 from r-ryantm/auto-update/python310Packages.azure-mgmt-security

python310Packages.azure-mgmt-security: 2.0.0 -> 3.0.0
This commit is contained in:
Fabian Affolter
2022-11-19 10:33:57 +01:00
committed by GitHub
@@ -1,18 +1,24 @@
{ lib, buildPythonPackage, fetchPypi, isPy27
{ lib
, buildPythonPackage
, fetchPypi
, azure-common
, azure-mgmt-core
, msrest
, msrestazure
, pythonOlder
, typing-extensions
}:
buildPythonPackage rec {
version = "2.0.0";
pname = "azure-mgmt-security";
disabled = isPy27;
version = "3.0.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-2sr3clHf5EvbXAx5FH3d3ab1/Y48r6Ojww3p9WX35aM=";
hash = "sha256-vLp874V/awKi2Yr+sH+YcbFij6M9iGGrE4fnMufbP4Q=";
extension = "zip";
};
@@ -21,12 +27,17 @@ buildPythonPackage rec {
azure-mgmt-core
msrest
msrestazure
] ++ lib.optionals (pythonOlder "3.8") [
typing-extensions
];
# no tests included
doCheck = false;
pythonImportsCheck = [ "azure.common" "azure.mgmt.security" ];
pythonImportsCheck = [
"azure.common"
"azure.mgmt.security"
];
meta = with lib; {
description = "Microsoft Azure Security Center Management Client Library for Python";