1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 msrestazure, 7 azure-common, 8 azure-mgmt-core, 9 azure-mgmt-nspkg, 10}: 11 12buildPythonPackage rec { 13 pname = "azure-mgmt-commerce"; 14 version = "6.0.0"; 15 pyproject = true; 16 17 src = fetchPypi { 18 inherit pname version; 19 extension = "zip"; 20 sha256 = "6f5447395503b2318f451d24f8021ee08db1cac44f1c3337ea690700419626b6"; 21 }; 22 23 build-system = [ setuptools ]; 24 25 dependencies = [ 26 msrestazure 27 azure-common 28 azure-mgmt-core 29 azure-mgmt-nspkg 30 ]; 31 32 prePatch = '' 33 rm -f azure_bdist_wheel.py tox.ini 34 sed -i "/azure-namespace-package/c\ " setup.cfg 35 ''; 36 37 pythonNamespaces = [ "azure.mgmt" ]; 38 39 # has no tests 40 doCheck = false; 41 pythonImportsCheck = [ "azure.mgmt.commerce" ]; 42 43 meta = with lib; { 44 description = "This is the Microsoft Azure Commerce Management Client Library"; 45 homepage = "https://github.com/Azure/azure-sdk-for-python"; 46 license = licenses.mit; 47 maintainers = with maintainers; [ maxwilson ]; 48 }; 49}