2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, isPy27
|
2020-04-24 23:36:52 +00:00
|
|
|
, bleach
|
|
|
|
, mt-940
|
|
|
|
, requests
|
|
|
|
, sepaxml
|
2021-03-16 09:55:35 +00:00
|
|
|
, pytestCheckHook
|
|
|
|
, pytest-mock
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-03-16 09:55:35 +00:00
|
|
|
version = "3.0.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "fints";
|
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "raphaelm";
|
|
|
|
repo = "python-fints";
|
|
|
|
rev = "v${version}";
|
2021-03-16 09:55:35 +00:00
|
|
|
sha256 = "sha256-P9+3QuB5c7WMjic2fSp8pwXrOUHIrLThvfodtbBXLMY=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests mt-940 sepaxml bleach ];
|
|
|
|
|
2021-03-16 09:55:35 +00:00
|
|
|
checkInputs = [ 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;
|
|
|
|
maintainers = with maintainers; [ elohmeier dotlambda ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|