mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 22:51:22 +00:00
pythonPackages.azure-mgmt-iothubprovisioningservices: fix python3 namespace
This commit is contained in:
parent
444451d444
commit
f5b18cbb73
@ -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;
|
||||
|
||||
@ -31,6 +38,6 @@ buildPythonPackage rec {
|
||||
description = "This is the Microsoft Azure IoTHub Provisioning Services Client Library";
|
||||
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ mwilsoninsight ];
|
||||
maintainers = with maintainers; [ jonringer mwilsoninsight ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user