2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, isPy27
|
2019-08-01 22:27:08 +01:00
|
|
|
, bleach
|
|
|
|
, mt-940
|
|
|
|
, requests
|
|
|
|
, sepaxml
|
2021-03-15 08:04:49 +00:00
|
|
|
, pytestCheckHook
|
|
|
|
, pytest-mock
|
2019-08-01 22:27:08 +01:00
|
|
|
}:
|
2018-12-20 17:46:04 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-03-15 08:04:49 +00:00
|
|
|
version = "3.0.1";
|
2018-12-20 17:46:04 +00:00
|
|
|
pname = "fints";
|
2019-08-01 22:27:08 +01:00
|
|
|
disabled = isPy27;
|
2018-12-20 17:46:04 +00:00
|
|
|
|
2019-08-01 22:27:08 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "raphaelm";
|
|
|
|
repo = "python-fints";
|
|
|
|
rev = "v${version}";
|
2021-03-15 08:04:49 +00:00
|
|
|
sha256 = "sha256-P9+3QuB5c7WMjic2fSp8pwXrOUHIrLThvfodtbBXLMY=";
|
2018-12-20 17:46:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests mt-940 sepaxml bleach ];
|
|
|
|
|
2021-03-15 08:04:49 +00:00
|
|
|
checkInputs = [ pytestCheckHook pytest-mock ];
|
2018-12-20 17:46:04 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/raphaelm/python-fints/";
|
2018-12-20 17:46:04 +00:00
|
|
|
description = "Pure-python FinTS (formerly known as HBCI) implementation";
|
2021-03-15 08:04:49 +00:00
|
|
|
license = licenses.lgpl3Only;
|
|
|
|
maintainers = with maintainers; [ elohmeier dotlambda ];
|
2018-12-20 17:46:04 +00:00
|
|
|
};
|
|
|
|
}
|