Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 37 lines 847 B view raw
1{ pkgs 2, buildPythonPackage 3, fetchPypi 4, python 5, azure-common 6, cryptography 7, futures ? null 8, dateutil 9, requests 10, isPy3k 11}: 12 13buildPythonPackage rec { 14 version = "0.36.0"; 15 pname = "azure-storage"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "0pyasfxkin6j8j00qmky7d9cvpxgis4fi9bscgclj6yrpvf14qpv"; 20 }; 21 22 propagatedBuildInputs = [ azure-common cryptography dateutil requests ] 23 ++ pkgs.lib.optionals (!isPy3k) [ futures ]; 24 25 postPatch = '' 26 rm azure_bdist_wheel.py 27 substituteInPlace setup.cfg \ 28 --replace "azure-namespace-package = azure-nspkg" "" 29 ''; 30 31 meta = with pkgs.lib; { 32 description = "Microsoft Azure SDK for Python"; 33 homepage = "https://github.com/Azure/azure-sdk-for-python"; 34 license = licenses.asl20; 35 maintainers = with maintainers; [ olcai ]; 36 }; 37}