summary refs log tree commit diff
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2022-03-28 20:45:44 +0200
committerGitHub <noreply@github.com>2022-03-28 20:45:44 +0200
commit93a7c9e4be173e3b669b3d80ae9f65699f5b8c6d (patch)
treea88777727fd28fbea7aa56ca677f77c749d614a2
parentbda820861213579f27b25eec27e80b7e58d9d463 (diff)
downloadnixpkgs-93a7c9e4be173e3b669b3d80ae9f65699f5b8c6d.tar
nixpkgs-93a7c9e4be173e3b669b3d80ae9f65699f5b8c6d.tar.gz
nixpkgs-93a7c9e4be173e3b669b3d80ae9f65699f5b8c6d.tar.bz2
nixpkgs-93a7c9e4be173e3b669b3d80ae9f65699f5b8c6d.tar.lz
nixpkgs-93a7c9e4be173e3b669b3d80ae9f65699f5b8c6d.tar.xz
nixpkgs-93a7c9e4be173e3b669b3d80ae9f65699f5b8c6d.tar.zst
nixpkgs-93a7c9e4be173e3b669b3d80ae9f65699f5b8c6d.zip
python3Packages.azure-mgmt-cognitiveservices: disable on older Python releases
-rw-r--r--pkgs/development/python-modules/azure-mgmt-cognitiveservices/default.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/azure-mgmt-cognitiveservices/default.nix b/pkgs/development/python-modules/azure-mgmt-cognitiveservices/default.nix
index 6ede0e0fc70..ea12d27e56b 100644
--- a/pkgs/development/python-modules/azure-mgmt-cognitiveservices/default.nix
+++ b/pkgs/development/python-modules/azure-mgmt-cognitiveservices/default.nix
@@ -3,28 +3,30 @@
 , fetchPypi
 , azure-common
 , azure-mgmt-core
-, azure-mgmt-nspkg
 , msrestazure
+, pythonOlder
 }:
 
 buildPythonPackage rec {
   pname = "azure-mgmt-cognitiveservices";
   version = "13.1.0";
+  format = "setuptools";
+
+  disabled = pythonOlder "3.6";
 
   src = fetchPypi {
     inherit pname version;
     extension = "zip";
-    sha256 = "sha256-FXS834v5uDGiEGcQMIv9iaHxhfcW9uY3VmX7l91Tfj4=";
+    hash = "sha256-FXS834v5uDGiEGcQMIv9iaHxhfcW9uY3VmX7l91Tfj4=";
   };
 
   propagatedBuildInputs = [
     msrestazure
     azure-common
     azure-mgmt-core
-    azure-mgmt-nspkg
   ];
 
-  # has no tests
+  # Module has no tests
   doCheck = false;
 
   meta = with lib; {