2019-10-23 07:58:56 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy27
|
|
|
|
, azure-common
|
|
|
|
, msrest
|
|
|
|
, msrestazure
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-06-23 07:10:26 +01:00
|
|
|
version = "0.4.0";
|
2019-10-23 07:58:56 +01:00
|
|
|
pname = "azure-mgmt-security";
|
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-23 07:10:26 +01:00
|
|
|
sha256 = "1gpkvvk4prx6khs6vrlbqlg6zarsmplg3k9zbymxfm6irriqildm";
|
2019-10-23 07:58:56 +01:00
|
|
|
extension = "zip";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ azure-common msrest msrestazure ];
|
|
|
|
|
|
|
|
# no tests included
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "azure.common" "azure.mgmt.security" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Microsoft Azure Security Center Management Client Library for Python";
|
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jonringer ];
|
|
|
|
};
|
|
|
|
}
|