12 buildPythonPackage rec {
14 format = "setuptools";
15 pname = "azure-mgmt-common";
18 inherit pname version;
20 sha256 = "c63812c13d9f36615c07f874bc602b733bb516f1ed62ab73189b8f71c6bfbfe6";
23 propagatedBuildInputs = [
30 postInstall = pkgs.lib.optionalString (!isPy3k) ''
31 echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/${python.sitePackages}"/azure/mgmt/__init__.py
32 echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/${python.sitePackages}"/azure/__init__.py
37 meta = with pkgs.lib; {
38 description = "This is the Microsoft Azure Resource Management common code";
39 homepage = "https://github.com/Azure/azure-sdk-for-python";
40 license = licenses.mit;
41 maintainers = with maintainers; [ olcai maxwilson ];