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