159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
49 lines
1 KiB
Nix
49 lines
1 KiB
Nix
{
|
|
lib,
|
|
azure-common,
|
|
azure-mgmt-core,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
isodate,
|
|
pythonOlder,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "azure-mgmt-network";
|
|
version = "26.0.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-TeZ2GEGVBT/bEGpuoQQqiU5wxzGm08imM9UvUin07hs=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
propagatedBuildInputs = [
|
|
azure-common
|
|
azure-mgmt-core
|
|
isodate
|
|
];
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
pythonNamespaces = [ "azure.mgmt" ];
|
|
|
|
pythonImportsCheck = [ "azure.mgmt.network" ];
|
|
|
|
meta = with lib; {
|
|
description = "Microsoft Azure SDK for Python";
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/network/azure-mgmt-network";
|
|
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-network_${version}/sdk/network/azure-mgmt-network/CHANGELOG.md";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [
|
|
olcai
|
|
maxwilson
|
|
];
|
|
};
|
|
}
|