Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 23.11 49 lines 1.1 kB view raw
1{ lib 2, azure-mgmt-common 3, azure-mgmt-core 4, buildPythonPackage 5, fetchPypi 6, isodate 7, pythonOlder 8, typing-extensions 9}: 10 11buildPythonPackage rec { 12 pname = "azure-mgmt-compute"; 13 version = "30.3.0"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-5Sl4Y0D4YqpqIYp61qW+trn7VYM8XKoIUcwzFNBJO2M="; 21 }; 22 23 propagatedBuildInputs = [ 24 azure-mgmt-common 25 azure-mgmt-core 26 isodate 27 ] ++ lib.optionals (pythonOlder "3.8") [ 28 typing-extensions 29 ]; 30 31 pythonNamespaces = [ 32 "azure.mgmt" 33 ]; 34 35 # Module has no tests 36 doCheck = false; 37 38 pythonImportsCheck = [ 39 "azure.mgmt.compute" 40 ]; 41 42 meta = with lib; { 43 description = "This is the Microsoft Azure Compute Management Client Library"; 44 homepage = "https://github.com/Azure/azure-sdk-for-python"; 45 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-compute_${version}/sdk/compute/azure-mgmt-compute/CHANGELOG.md"; 46 license = licenses.mit; 47 maintainers = with maintainers; [ olcai maxwilson ]; 48 }; 49}