python312Packages.azure-mgmt-botservice: refactor

This commit is contained in:
Fabian Affolter 2024-04-10 09:26:16 +02:00
parent d1d7c64acb
commit 7fa66ff662
1 changed files with 16 additions and 8 deletions

View File

@ -1,15 +1,19 @@
{ lib, buildPythonPackage, fetchPypi, isPy27
{ lib
, azure-common
, azure-mgmt-core
, buildPythonPackage
, fetchPypi
, msrest
, msrestazure
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
version = "2.0.0";
format = "setuptools";
pname = "azure-mgmt-botservice";
disabled = isPy27;
version = "2.0.0";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
@ -17,11 +21,14 @@ buildPythonPackage rec {
extension = "zip";
};
propagatedBuildInputs = [
build-system = [
setuptools
];
dependencies = [
azure-common
azure-mgmt-core
msrest
msrestazure
];
# no tests included
@ -31,7 +38,8 @@ buildPythonPackage rec {
meta = with lib; {
description = "Microsoft Azure API 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/botservice/azure-mgmt-botservice";
changelog = "https://github.com/Azure/azure-sdk-for-python/tree/azure-mgmt-botservice_${version}/sdk/botservice/azure-mgmt-botservice";
license = licenses.mit;
maintainers = with maintainers; [ jonringer ];
};