From bda820861213579f27b25eec27e80b7e58d9d463 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 28 Mar 2022 15:26:14 +0000 Subject: [PATCH 1/2] python310Packages.azure-mgmt-cognitiveservices: 13.0.0 -> 13.1.0 --- .../python-modules/azure-mgmt-cognitiveservices/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-cognitiveservices/default.nix b/pkgs/development/python-modules/azure-mgmt-cognitiveservices/default.nix index 08b810f752d1..6ede0e0fc70e 100644 --- a/pkgs/development/python-modules/azure-mgmt-cognitiveservices/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-cognitiveservices/default.nix @@ -9,12 +9,12 @@ buildPythonPackage rec { pname = "azure-mgmt-cognitiveservices"; - version = "13.0.0"; + version = "13.1.0"; src = fetchPypi { inherit pname version; extension = "zip"; - sha256 = "dc6116e8394d45312c7ad5a9098ce0dd2370bd92d43afd33d8b3bfab724fa498"; + sha256 = "sha256-FXS834v5uDGiEGcQMIv9iaHxhfcW9uY3VmX7l91Tfj4="; }; propagatedBuildInputs = [ From 93a7c9e4be173e3b669b3d80ae9f65699f5b8c6d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 28 Mar 2022 20:45:44 +0200 Subject: [PATCH 2/2] python3Packages.azure-mgmt-cognitiveservices: disable on older Python releases --- .../azure-mgmt-cognitiveservices/default.nix | 10 ++++++---- 1 file 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 6ede0e0fc70e..ea12d27e56bc 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; {