Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

python312Packages.azure-mgmt-hdinsight: refactor

+17 -7
+17 -7
pkgs/development/python-modules/azure-mgmt-hdinsight/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, isPy27 1 + { lib 2 2 , azure-common 3 3 , azure-mgmt-core 4 + , buildPythonPackage 5 + , fetchPypi 4 6 , msrest 5 7 , msrestazure 8 + , pythonOlder 9 + , setuptools 6 10 }: 7 11 8 12 buildPythonPackage rec { 9 - version = "9.0.0"; 10 - format = "setuptools"; 11 13 pname = "azure-mgmt-hdinsight"; 12 - disabled = isPy27; 14 + version = "9.0.0"; 15 + pyproject = true; 16 + 17 + disabled = pythonOlder "3.9"; 13 18 14 19 src = fetchPypi { 15 20 inherit pname version; 16 - sha256 = "41ebdc69c0d1f81d25dd30438c14fff4331f66639f55805b918b9649eaffe78a"; 21 + hash = "sha256-QevcacDR+B0l3TBDjBT/9DMfZmOfVYBbkYuWSer/54o="; 17 22 extension = "zip"; 18 23 }; 19 24 20 - propagatedBuildInputs = [ 25 + build-system = [ 26 + setuptools 27 + ]; 28 + 29 + dependencies = [ 21 30 azure-common 22 31 azure-mgmt-core 23 32 msrest ··· 31 40 32 41 meta = with lib; { 33 42 description = "Microsoft Azure HDInsight Management Client Library for Python"; 34 - homepage = "https://github.com/Azure/azure-sdk-for-python"; 43 + homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/hdinsight/azure-mgmt-hdinsight"; 44 + changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-hdinsight_${version}/sdk/hdinsight/azure-mgmt-hdinsight/CHANGELOG.md"; 35 45 license = licenses.mit; 36 46 maintainers = with maintainers; [ jonringer ]; 37 47 };