2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
pythonOlder,
|
|
|
|
fetchFromGitHub,
|
|
|
|
bleach,
|
|
|
|
mt-940,
|
|
|
|
requests,
|
|
|
|
sepaxml,
|
|
|
|
pytestCheckHook,
|
|
|
|
pytest-mock,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2023-04-29 16:46:19 +00:00
|
|
|
version = "4.0.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "fints";
|
2023-04-29 16:46:19 +00:00
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "raphaelm";
|
|
|
|
repo = "python-fints";
|
|
|
|
rev = "v${version}";
|
2023-04-29 16:46:19 +00:00
|
|
|
hash = "sha256-SREprcrIdeKVpL22IViexwiKmFfbT2UbKEmxtVm6iu0=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
requests
|
|
|
|
mt-940
|
|
|
|
sepaxml
|
|
|
|
bleach
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeCheckInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
pytest-mock
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/raphaelm/python-fints/";
|
|
|
|
description = "Pure-python FinTS (formerly known as HBCI) implementation";
|
2021-03-16 09:55:35 +00:00
|
|
|
license = licenses.lgpl3Only;
|
2024-06-05 15:53:02 +00:00
|
|
|
maintainers = with maintainers; [
|
|
|
|
elohmeier
|
|
|
|
dotlambda
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|