mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 04:49:01 +02:00
python3Packages.azure-mgmt-applicationinsight: fix python3 namespace
This commit is contained in:
parent
207046d066
commit
94a2bab032
|
@ -1,5 +1,6 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
|
, python
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, msrest
|
, msrest
|
||||||
, msrestazure
|
, msrestazure
|
||||||
|
@ -26,6 +27,11 @@ buildPythonPackage rec {
|
||||||
azure-mgmt-nspkg
|
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
|
# has no tests
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue