nixpkgs/pkgs/development/python-modules/azure-mgmt-hdinsight/default.nix
2024-04-10 09:45:55 +02:00

49 lines
1.1 KiB
Nix

{ lib
, azure-common
, azure-mgmt-core
, buildPythonPackage
, fetchPypi
, msrest
, msrestazure
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "azure-mgmt-hdinsight";
version = "9.0.0";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
hash = "sha256-QevcacDR+B0l3TBDjBT/9DMfZmOfVYBbkYuWSer/54o=";
extension = "zip";
};
build-system = [
setuptools
];
dependencies = [
azure-common
azure-mgmt-core
msrest
msrestazure
];
# no tests included
doCheck = false;
pythonImportsCheck = [ "azure.common" "azure.mgmt.hdinsight" ];
meta = with lib; {
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;
maintainers = with maintainers; [ jonringer ];
};
}