mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
python3Packages.mercadopago: fix build
(cherry picked from commit 9d271656f5
)
This commit is contained in:
parent
e0952cc595
commit
d23a829310
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user