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