1{ lib 2, azure-common 3, azure-mgmt-core 4, buildPythonPackage 5, fetchPypi 6, isodate 7, msrest 8, pythonOlder 9, typing-extensions 10}: 11 12buildPythonPackage rec { 13 pname = "azure-mgmt-privatedns"; 14 version = "1.1.0"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-MtucYFpKj/ANNON1UdXrBrTsJnq53iph3SJ1ypWj+5g="; 22 extension = "zip"; 23 }; 24 25 propagatedBuildInputs = [ 26 azure-common 27 azure-mgmt-core 28 isodate 29 msrest 30 ] ++ lib.optionals (pythonOlder "3.8") [ 31 typing-extensions 32 ]; 33 34 # no tests included 35 doCheck = false; 36 37 pythonImportsCheck = [ 38 "azure.common" 39 "azure.mgmt.privatedns" 40 ]; 41 42 meta = with lib; { 43 description = "Microsoft Azure DNS Private Zones Client Library for Python"; 44 homepage = "https://github.com/Azure/azure-sdk-for-python"; 45 license = licenses.mit; 46 maintainers = with maintainers; [ jonringer ]; 47 }; 48}