python3Packages.azure-storage: 0.20.3 -> 0.36.0
This commit is contained in:
parent
d71ed93abf
commit
729000eadc
@ -10,20 +10,21 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "0.20.3";
|
version = "0.36.0";
|
||||||
pname = "azure-storage";
|
pname = "azure-storage";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
extension = "zip";
|
sha256 = "0pyasfxkin6j8j00qmky7d9cvpxgis4fi9bscgclj6yrpvf14qpv";
|
||||||
sha256 = "06bmw6k2000kln5jwk5r9bgcalqbyvqirmdh9gq4s6nb4fv3c0jb";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ azure-common dateutil requests ]
|
propagatedBuildInputs = [ azure-common dateutil requests ]
|
||||||
++ pkgs.lib.optionals (!isPy3k) [ futures ];
|
++ pkgs.lib.optionals (!isPy3k) [ futures ];
|
||||||
|
|
||||||
postInstall = ''
|
postPatch = ''
|
||||||
echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/__init__.py
|
rm azure_bdist_wheel.py
|
||||||
|
substituteInPlace setup.cfg \
|
||||||
|
--replace "azure-namespace-package = azure-nspkg" ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with pkgs.lib; {
|
meta = with pkgs.lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user