python3Packages.azure-multiapi-storage: fix packaging

This commit is contained in:
Jonathan Ringer 2020-07-06 10:31:06 -07:00 committed by Jon
parent 966d7bed53
commit e3fe15df4c

View File

@ -1,4 +1,5 @@
{ lib, python, buildPythonPackage, fetchPypi, isPy27
, fetchpatch
, azure-common
, azure-core
, msrest
@ -24,6 +25,14 @@ buildPythonPackage rec {
requests
];
# Fix to actually install the package
patches = [
(fetchpatch {
url = "https://github.com/Azure/azure-multiapi-storage-python/pull/29/commits/1c8b08dfc9c5445498de3475dec8820eafbd0ca1.patch";
sha256 = "1f80sdbw4pagrlp9dhcimhp23sdmy0whiba07aa84agkpv4df9ny";
})
];
# fix namespace
pythonNamespaces = [ "azure.multiapi" ];