mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
pythonPackages.azure-mgmt-loganalytics: fix python3 namespace
This commit is contained in:
parent
bd28f8b02f
commit
e58cf7d047
@ -1,6 +1,8 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, python
|
||||
, isPy3k
|
||||
, msrest
|
||||
, msrestazure
|
||||
, azure-common
|
||||
@ -24,6 +26,11 @@ buildPythonPackage rec {
|
||||
azure-mgmt-nspkg
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString isPy3k ''
|
||||
rm $out/${python.sitePackages}/azure/__init__.py
|
||||
rm $out/${python.sitePackages}/azure/mgmt/__init__.py
|
||||
'';
|
||||
|
||||
# has no tests
|
||||
doCheck = false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user