diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/azure-mgmt-msi/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/azure-mgmt-msi/default.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/azure-mgmt-msi/default.nix b/nixpkgs/pkgs/development/python-modules/azure-mgmt-msi/default.nix index 63ebbb298f2c..328e81c8fe79 100644 --- a/nixpkgs/pkgs/development/python-modules/azure-mgmt-msi/default.nix +++ b/nixpkgs/pkgs/development/python-modules/azure-mgmt-msi/default.nix @@ -1,6 +1,8 @@ { lib , buildPythonPackage , fetchPypi +, python +, isPy3k , msrest , msrestazure , azure-common @@ -24,12 +26,18 @@ buildPythonPackage rec { azure-mgmt-nspkg ]; + # still needed when overriding to previous versions + # E.g. azure-cli + postInstall = lib.optionalString isPy3k '' + rm -f $out/${python.sitePackages}/azure/{,mgmt/}__init__.py + ''; + # has no tests doCheck = false; meta = with lib; { description = "This is the Microsoft Azure MSI Management Client Library"; - homepage = https://github.com/Azure/azure-sdk-for-python/tree/master/azure-mgmt-msi; + homepage = "https://github.com/Azure/azure-sdk-for-python"; license = licenses.mit; maintainers = with maintainers; [ mwilsoninsight ]; }; |