pythonPackage.azure-mgmt-*: fix builds
see https://github.com/NixOS/nixpkgs/issues/52547
This commit is contained in:
committed by
Herwig Hochleitner
parent
292a4520f9
commit
88d9ef9e1f
@@ -5,6 +5,7 @@
|
||||
, azure-common
|
||||
, azure-mgmt-nspkg
|
||||
, requests
|
||||
, msrestazure
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -17,7 +18,7 @@ buildPythonPackage rec {
|
||||
sha256 = "1rmzpz3733wv31rsnqpdy4bbafvk5dhbqx7q0xf62dlz7p0i4f66";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ azure-common azure-mgmt-nspkg requests ];
|
||||
propagatedBuildInputs = [ azure-common azure-mgmt-nspkg requests msrestazure ];
|
||||
|
||||
postInstall = ''
|
||||
echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/__init__.py
|
||||
|
||||
Reference in New Issue
Block a user