at 24.11-pre 869 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 pythonOlder, 5 fetchFromGitHub, 6 bleach, 7 mt-940, 8 requests, 9 sepaxml, 10 pytestCheckHook, 11 pytest-mock, 12}: 13 14buildPythonPackage rec { 15 version = "4.0.0"; 16 pname = "fints"; 17 disabled = pythonOlder "3.6"; 18 19 format = "setuptools"; 20 21 src = fetchFromGitHub { 22 owner = "raphaelm"; 23 repo = "python-fints"; 24 rev = "v${version}"; 25 hash = "sha256-SREprcrIdeKVpL22IViexwiKmFfbT2UbKEmxtVm6iu0="; 26 }; 27 28 propagatedBuildInputs = [ 29 requests 30 mt-940 31 sepaxml 32 bleach 33 ]; 34 35 nativeCheckInputs = [ 36 pytestCheckHook 37 pytest-mock 38 ]; 39 40 meta = with lib; { 41 homepage = "https://github.com/raphaelm/python-fints/"; 42 description = "Pure-python FinTS (formerly known as HBCI) implementation"; 43 license = licenses.lgpl3Only; 44 maintainers = with maintainers; [ 45 elohmeier 46 dotlambda 47 ]; 48 }; 49}