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