11 buildPythonPackage rec {
13 format = "setuptools";
14 pname = "azure-common";
18 inherit pname version;
20 hash = "sha256-SsDNMhTja2obakQmhnIqXYzESWA6qDPz8PQL2oNnBKM=";
23 propagatedBuildInputs = [
25 ] ++ lib.optionals (!isPy3k) [ setuptools ]; # need for namespace lookup
27 postInstall = lib.optionalString (!isPy3k) ''
28 echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/${python.sitePackages}"/azure/__init__.py
34 description = "This is the Microsoft Azure common code";
35 homepage = "https://github.com/Azure/azure-sdk-for-python";
36 license = licenses.mit;
37 maintainers = with maintainers; [ olcai maxwilson ];