python3Packages.mercadopago: fix build

(cherry picked from commit 9d271656f5)
This commit is contained in:
wxt 2024-11-15 18:35:45 +08:00 committed by github-actions[bot]
parent e0952cc595
commit d23a829310

View File

@ -4,12 +4,13 @@
fetchFromGitHub,
pythonOlder,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "mercadopago";
version = "2.2.3";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
@ -20,18 +21,24 @@ buildPythonPackage rec {
hash = "sha256-u4/e/shfTyrucf+uj5nqAkeugX9JZjXBrNtoOkpff8c=";
};
propagatedBuildInputs = [ requests ];
build-system = [
setuptools
];
dependencies = [
requests
];
# require internet
doCheck = false;
pythonImportsCheck = [ "mercadopago" ];
meta = with lib; {
meta = {
description = "This library provides developers with a simple set of bindings to help you integrate Mercado Pago API to a website and start receiving payments";
homepage = "https://www.mercadopago.com";
changelog = "https://github.com/mercadopago/sdk-python/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ derdennisop ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ derdennisop ];
};
}