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-dns";
15 version = "9.0.0";
16 pyproject = true;
17
18 disabled = pythonOlder "3.8";
19
20 src = fetchPypi {
21 pname = "azure_mgmt_dns";
22 inherit version;
23 hash = "sha256-ifjE5GepQiS5e/Ft121b1ha/Ec7+cn93ZhilfMVIbjc=";
24 };
25
26 build-system = [ setuptools ];
27
28 dependencies = [
29 azure-common
30 azure-mgmt-core
31 isodate
32 typing-extensions
33 ];
34
35 # this is still needed for when the version is overrided
36 pythonNamespaces = [ "azure.mgmt" ];
37
38 # Tests are only available in the mono-repo
39 doCheck = false;
40
41 meta = with lib; {
42 description = "This is the Microsoft Azure DNS Management Client Library";
43 homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/network/azure-mgmt-dns";
44 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-dns_${version}/sdk/network/azure-mgmt-dns/CHANGELOG.md";
45 license = licenses.mit;
46 maintainers = with maintainers; [ maxwilson ];
47 };
48}