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 (finalAttrs: {
13 pname = "azure-mgmt-network";
14 version = "30.2.0";
15 pyproject = true;
16
17 src = fetchPypi {
18 pname = "azure_mgmt_network";
19 inherit (finalAttrs) version;
20 hash = "sha256-mxfCWeY0SAiqqAo0u8SxPxa8ARhd2dsTfqoK4mZkhho=";
21 };
22
23 build-system = [ setuptools ];
24
25 dependencies = [
26 azure-common
27 azure-mgmt-core
28 isodate
29 typing-extensions
30 ];
31
32 # Module has no tests
33 doCheck = false;
34
35 pythonNamespaces = [ "azure.mgmt" ];
36
37 pythonImportsCheck = [ "azure.mgmt.network" ];
38
39 meta = {
40 description = "Microsoft Azure SDK for Python";
41 homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/network/azure-mgmt-network";
42 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-network_${finalAttrs.version}/sdk/network/azure-mgmt-network/CHANGELOG.md";
43 license = lib.licenses.mit;
44 maintainers = with lib.maintainers; [
45 olcai
46 maxwilson
47 ];
48 };
49})