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