1{
2 lib,
3 azure-common,
4 azure-mgmt-core,
5 buildPythonPackage,
6 fetchPypi,
7 isodate,
8 pythonOlder,
9 setuptools,
10}:
11
12buildPythonPackage rec {
13 pname = "azure-mgmt-security";
14 version = "7.0.0";
15 pyproject = true;
16
17 disabled = pythonOlder "3.8";
18
19 src = fetchPypi {
20 inherit pname version;
21 hash = "sha256-WRLu1+nTdY/cqNJuHcJrQZQ9xHAyCKEYQmbiwlLhrWY=";
22 };
23
24 build-system = [ setuptools ];
25
26 dependencies = [
27 azure-common
28 azure-mgmt-core
29 isodate
30 ];
31
32 # no tests included
33 doCheck = false;
34
35 pythonImportsCheck = [
36 "azure.common"
37 "azure.mgmt.security"
38 ];
39
40 meta = with lib; {
41 description = "Microsoft Azure Security Center Management Client Library for Python";
42 homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/security/azure-mgmt-security";
43 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-security_${version}/sdk/security/azure-mgmt-security/CHANGELOG.md";
44 license = licenses.mit;
45 maintainers = [ ];
46 };
47}