Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
930 B · 41 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142{ lib, buildPythonPackage, fetchPypi, azure-nspkg, isPyPy, setuptools, python, isPy3k,}:
buildPythonPackage rec { version = "1.1.28"; format = "setuptools"; pname = "azure-common"; disabled = isPyPy;
src = fetchPypi { inherit pname version; extension = "zip"; hash = "sha256-SsDNMhTja2obakQmhnIqXYzESWA6qDPz8PQL2oNnBKM="; };
propagatedBuildInputs = [ azure-nspkg ] ++ lib.optionals (!isPy3k) [ setuptools ]; # need for namespace lookup
postInstall = lib.optionalString (!isPy3k) '' echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/${python.sitePackages}"/azure/__init__.py '';
doCheck = false;
meta = with lib; { description = "This is the Microsoft Azure common code"; homepage = "https://github.com/Azure/azure-sdk-for-python"; license = licenses.mit; maintainers = with maintainers; [ olcai maxwilson ]; };}