diff --git a/pkgs/development/python-modules/azure-mgmt-hdinsight/default.nix b/pkgs/development/python-modules/azure-mgmt-hdinsight/default.nix index e10811f814fa..aa6ab0706061 100644 --- a/pkgs/development/python-modules/azure-mgmt-hdinsight/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-hdinsight/default.nix @@ -1,23 +1,32 @@ -{ lib, buildPythonPackage, fetchPypi, isPy27 +{ lib , azure-common , azure-mgmt-core +, buildPythonPackage +, fetchPypi , msrest , msrestazure +, pythonOlder +, setuptools }: buildPythonPackage rec { - version = "9.0.0"; - format = "setuptools"; pname = "azure-mgmt-hdinsight"; - disabled = isPy27; + version = "9.0.0"; + pyproject = true; + + disabled = pythonOlder "3.9"; src = fetchPypi { inherit pname version; - sha256 = "41ebdc69c0d1f81d25dd30438c14fff4331f66639f55805b918b9649eaffe78a"; + hash = "sha256-QevcacDR+B0l3TBDjBT/9DMfZmOfVYBbkYuWSer/54o="; extension = "zip"; }; - propagatedBuildInputs = [ + build-system = [ + setuptools + ]; + + dependencies = [ azure-common azure-mgmt-core msrest @@ -31,7 +40,8 @@ buildPythonPackage rec { meta = with lib; { description = "Microsoft Azure HDInsight Management Client Library for Python"; - homepage = "https://github.com/Azure/azure-sdk-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; maintainers = with maintainers; [ jonringer ]; };