Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, azure-mgmt-core 5, azure-mgmt-common 6, msrest 7, pythonOlder 8}: 9 10buildPythonPackage rec { 11 pname = "azure-mgmt-resource"; 12 version = "23.0.1"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 extension = "zip"; 20 hash = "sha256-wrps/ZnflfVfNurcQkXj3HEyVzAqH9And1bZS9jLKOA="; 21 }; 22 23 propagatedBuildInputs = [ 24 azure-mgmt-common 25 azure-mgmt-core 26 msrest 27 ]; 28 29 # Module has no tests 30 doCheck = false; 31 32 pythonNamespaces = [ 33 "azure.mgmt" 34 ]; 35 36 pythonImportsCheck = [ 37 "azure.mgmt.resource" 38 ]; 39 40 meta = with lib; { 41 description = "Microsoft Azure SDK for Python"; 42 homepage = "https://github.com/Azure/azure-sdk-for-python"; 43 license = licenses.mit; 44 maintainers = with maintainers; [ olcai maxwilson jonringer ]; 45 }; 46}