at master 1.0 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 pythonOlder, 5 setuptools, 6 fetchFromGitHub, 7 bleach, 8 mt-940, 9 requests, 10 sepaxml, 11 pytestCheckHook, 12 pytest-mock, 13}: 14 15buildPythonPackage rec { 16 version = "4.2.4"; 17 pname = "fints"; 18 pyproject = true; 19 20 disabled = pythonOlder "3.9"; 21 22 src = fetchFromGitHub { 23 owner = "raphaelm"; 24 repo = "python-fints"; 25 tag = "v${version}"; 26 hash = "sha256-la5vpWBoZ7hZsAyjjCqHpFfOykDVosI/S9amox1dmzY="; 27 }; 28 29 pythonRemoveDeps = [ "enum-tools" ]; 30 31 build-system = [ setuptools ]; 32 33 dependencies = [ 34 bleach 35 mt-940 36 requests 37 sepaxml 38 ]; 39 40 __darwinAllowLocalNetworking = true; 41 42 pythonImportsCheck = [ "fints" ]; 43 44 nativeCheckInputs = [ 45 pytestCheckHook 46 pytest-mock 47 ]; 48 49 meta = with lib; { 50 homepage = "https://github.com/raphaelm/python-fints/"; 51 description = "Pure-python FinTS (formerly known as HBCI) implementation"; 52 license = licenses.lgpl3Only; 53 maintainers = with maintainers; [ 54 dotlambda 55 ]; 56 }; 57}