nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 azure-common,
4 azure-mgmt-core,
5 buildPythonPackage,
6 fetchPypi,
7 isodate,
8 setuptools,
9 typing-extensions,
10}:
11
12buildPythonPackage rec {
13 pname = "azure-mgmt-dns";
14 version = "9.0.0";
15 pyproject = true;
16
17 src = fetchPypi {
18 pname = "azure_mgmt_dns";
19 inherit version;
20 hash = "sha256-ifjE5GepQiS5e/Ft121b1ha/Ec7+cn93ZhilfMVIbjc=";
21 };
22
23 build-system = [ setuptools ];
24
25 dependencies = [
26 azure-common
27 azure-mgmt-core
28 isodate
29 typing-extensions
30 ];
31
32 # this is still needed for when the version is overrided
33 pythonNamespaces = [ "azure.mgmt" ];
34
35 # Tests are only available in the mono-repo
36 doCheck = false;
37
38 meta = {
39 description = "This is the Microsoft Azure DNS Management Client Library";
40 homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/network/azure-mgmt-dns";
41 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-dns_${version}/sdk/network/azure-mgmt-dns/CHANGELOG.md";
42 license = lib.licenses.mit;
43 maintainers = with lib.maintainers; [ maxwilson ];
44 };
45}