python312Packages.azure-mgmt-hdinsight: refactor

This commit is contained in:
Fabian Affolter 2024-04-10 09:45:55 +02:00
parent 962952fd7e
commit 4b91cf3e42
1 changed files with 17 additions and 7 deletions

View File

@ -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 ];
};