python312Packages.azure-mgmt-databoxedge: refactor

This commit is contained in:
Fabian Affolter 2024-04-10 09:31:59 +02:00
parent c9bbedab24
commit 97540bcfed
1 changed files with 18 additions and 7 deletions

View File

@ -1,24 +1,34 @@
{ lib, buildPythonPackage, fetchPypi
, msrestazure
{ lib
, azure-common
, azure-mgmt-core
, buildPythonPackage
, fetchPypi
, msrest
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "azure-mgmt-databoxedge";
version = "1.0.0";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "04090062bc1e8f00c2f45315a3bceb0fb3b3479ec1474d71b88342e13499b087";
hash = "sha256-BAkAYrwejwDC9FMVo7zrD7OzR57BR01xuINC4TSZsIc=";
};
propagatedBuildInputs = [
msrestazure
build-system = [
setuptools
];
dependencies = [
azure-common
azure-mgmt-core
msrest
];
# no tests in pypi tarball
@ -28,7 +38,8 @@ buildPythonPackage rec {
meta = with lib; {
description = "Microsoft Azure Databoxedge 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/databox/azure-mgmt-databox";
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-databoxedge_${version}/sdk/databox/azure-mgmt-databox/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ jonringer ];
};