summary refs log tree commit diff
path: root/pkgs/development/python-modules/azure-servicebus
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2020-06-02 17:50:33 -0700
committerJon <jonringer@users.noreply.github.com>2020-06-04 12:35:47 -0700
commit21c43f6e7530563534b34bce0eb723c9cbcca8b0 (patch)
tree5c93dd1caae85bccb7fbbe66c8bde50216ef0c5c /pkgs/development/python-modules/azure-servicebus
parenteb0363119e0b6276591386ba02f3d97f183c7ddc (diff)
downloadnixpkgs-21c43f6e7530563534b34bce0eb723c9cbcca8b0.tar
nixpkgs-21c43f6e7530563534b34bce0eb723c9cbcca8b0.tar.gz
nixpkgs-21c43f6e7530563534b34bce0eb723c9cbcca8b0.tar.bz2
nixpkgs-21c43f6e7530563534b34bce0eb723c9cbcca8b0.tar.lz
nixpkgs-21c43f6e7530563534b34bce0eb723c9cbcca8b0.tar.xz
nixpkgs-21c43f6e7530563534b34bce0eb723c9cbcca8b0.tar.zst
nixpkgs-21c43f6e7530563534b34bce0eb723c9cbcca8b0.zip
python3Packages.azure-servicebus: add imports check
Diffstat (limited to 'pkgs/development/python-modules/azure-servicebus')
-rw-r--r--pkgs/development/python-modules/azure-servicebus/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/azure-servicebus/default.nix b/pkgs/development/python-modules/azure-servicebus/default.nix
index e5857757797..2a3552d1fb5 100644
--- a/pkgs/development/python-modules/azure-servicebus/default.nix
+++ b/pkgs/development/python-modules/azure-servicebus/default.nix
@@ -29,6 +29,9 @@ buildPythonPackage rec {
   # has no tests
   doCheck = false;
 
+  # python2 will fail due to pep 420
+  pythonImportsCheck = lib.optionals isPy3k [ "azure.servicebus" ];
+
   meta = with lib; {
     description = "This is the Microsoft Azure Service Bus Client Library";
     homepage = "https://github.com/Azure/azure-sdk-for-python";