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