Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 azure-common, 4 buildPythonPackage, 5 fetchPypi, 6 requests, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "azure-servicemanagement-legacy"; 12 version = "0.20.8"; 13 pyproject = true; 14 15 src = fetchPypi { 16 pname = "azure_servicemanagement_legacy"; 17 inherit version; 18 hash = "sha256-42neKpeBjx26GTIzeBTyjTmj5tcNklNQoaBoEDjC+Xc="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 dependencies = [ 24 azure-common 25 requests 26 ]; 27 28 pythonNamespaces = [ "azure" ]; 29 30 # Module has no tests 31 doCheck = false; 32 33 pythonImportsCheck = [ "azure.servicemanagement" ]; 34 35 meta = with lib; { 36 description = "This is the Microsoft Azure Service Management Legacy Client Library"; 37 homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/core/azure-servicemanagement-legacy"; 38 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-servicemanagement-legacy_${version}/sdk/core/azure-servicemanagement-legacy/CHANGELOG.md"; 39 license = licenses.mit; 40 maintainers = with maintainers; [ 41 olcai 42 maxwilson 43 ]; 44 }; 45}