51 lines
1.1 KiB
Nix
51 lines
1.1 KiB
Nix
|
{
|
||
|
lib,
|
||
|
azure-common,
|
||
|
azure-mgmt-core,
|
||
|
buildPythonPackage,
|
||
|
fetchPypi,
|
||
|
isodate,
|
||
|
pythonOlder,
|
||
|
setuptools,
|
||
|
typing-extensions,
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "azure-mgmt-privatedns";
|
||
|
version = "1.2.0";
|
||
|
pyproject = true;
|
||
|
|
||
|
disabled = pythonOlder "3.8";
|
||
|
|
||
|
src = fetchPypi {
|
||
|
pname = "azure_mgmt_privatedns";
|
||
|
inherit version;
|
||
|
hash = "sha256-NCMYcvAblPYZXY7lQo4XRpJS7QTqCCjVIyXr578KEgs=";
|
||
|
};
|
||
|
|
||
|
build-system = [ setuptools ];
|
||
|
|
||
|
dependencies = [
|
||
|
azure-common
|
||
|
azure-mgmt-core
|
||
|
isodate
|
||
|
typing-extensions
|
||
|
];
|
||
|
|
||
|
# no tests included
|
||
|
doCheck = false;
|
||
|
|
||
|
pythonImportsCheck = [
|
||
|
"azure.common"
|
||
|
"azure.mgmt.privatedns"
|
||
|
];
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "Microsoft Azure DNS Private Zones Client Library for Python";
|
||
|
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/network/azure-mgmt-privatedns";
|
||
|
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-privatedns_${version}/sdk/network/azure-mgmt-privatedns/CHANGELOG.md";
|
||
|
license = licenses.mit;
|
||
|
maintainers = [ ];
|
||
|
};
|
||
|
}
|