aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/azure-mgmt-devtestlabs/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/azure-mgmt-devtestlabs/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/azure-mgmt-devtestlabs/default.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/azure-mgmt-devtestlabs/default.nix b/nixpkgs/pkgs/development/python-modules/azure-mgmt-devtestlabs/default.nix
index 76a5f0cbcd2..546ec5ab840 100644
--- a/nixpkgs/pkgs/development/python-modules/azure-mgmt-devtestlabs/default.nix
+++ b/nixpkgs/pkgs/development/python-modules/azure-mgmt-devtestlabs/default.nix
@@ -1,11 +1,12 @@
{ lib
, buildPythonPackage
, fetchPypi
+, python
+, isPy3k
, msrest
, msrestazure
, azure-common
, azure-mgmt-nspkg
-, isPy3k
}:
buildPythonPackage rec {
@@ -26,6 +27,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;
@@ -33,6 +39,6 @@ buildPythonPackage rec {
description = "This is the Microsoft Azure DevTestLabs Management Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
- maintainers = with maintainers; [ mwilsoninsight ];
+ maintainers = with maintainers; [ jonringer mwilsoninsight ];
};
}