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