diff --git a/pkgs/development/python-modules/azure-mgmt-hdinsight/default.nix b/pkgs/development/python-modules/azure-mgmt-hdinsight/default.nix index 2007e304f3ab..f8beaa1bb742 100644 --- a/pkgs/development/python-modules/azure-mgmt-hdinsight/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-hdinsight/default.nix @@ -5,8 +5,6 @@ buildPythonPackage, fetchPypi, msrest, - msrestazure, - pythonOlder, setuptools, }: @@ -15,8 +13,6 @@ buildPythonPackage rec { version = "9.0.0"; pyproject = true; - disabled = pythonOlder "3.9"; - src = fetchPypi { inherit pname version; hash = "sha256-QevcacDR+B0l3TBDjBT/9DMfZmOfVYBbkYuWSer/54o="; @@ -29,22 +25,22 @@ buildPythonPackage rec { azure-common azure-mgmt-core msrest - msrestazure ]; # no tests included doCheck = false; + pythonNamespaces = [ "azure.mgmt" ]; + pythonImportsCheck = [ - "azure.common" "azure.mgmt.hdinsight" ]; - meta = with lib; { + meta = { description = "Microsoft Azure HDInsight Management Client Library for Python"; homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/hdinsight/azure-mgmt-hdinsight"; changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-hdinsight_${version}/sdk/hdinsight/azure-mgmt-hdinsight/CHANGELOG.md"; - license = licenses.mit; + license = lib.licenses.mit; maintainers = [ ]; }; }