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