diff --git a/pkgs/development/python-modules/azure-mgmt-search/default.nix b/pkgs/development/python-modules/azure-mgmt-search/default.nix index e4cb5b234742..4683d1e29412 100644 --- a/pkgs/development/python-modules/azure-mgmt-search/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-search/default.nix @@ -2,33 +2,39 @@ , buildPythonPackage , fetchPypi , msrest -, msrestazure , azure-common , azure-mgmt-core -, azure-mgmt-nspkg +, pythonOlder +, typing-extensions }: buildPythonPackage rec { pname = "azure-mgmt-search"; - version = "8.0.0"; + version = "9.0.0"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; extension = "zip"; - sha256 = "a96d50c88507233a293e757202deead980c67808f432b8e897c4df1ca088da7e"; + hash = "sha256-Gc+qoTa1EE4/YmJvUSqVG+zZ50wfohvWOe/fLJ/vgb0="; }; propagatedBuildInputs = [ azure-common azure-mgmt-core - azure-mgmt-nspkg msrest - msrestazure + ] ++ lib.optionals (pythonOlder "3.8") [ + typing-extensions ]; - # has no tests + # Module has no tests doCheck = false; - pythonImportsCheck = [ "azure.mgmt.search" ]; + + pythonImportsCheck = [ + "azure.mgmt.search" + ]; meta = with lib; { description = "This is the Microsoft Azure Search Management Client Library";