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