Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 36 lines 848 B view raw
1{ stdenv, buildPythonPackage, fetchFromGitHub, isPy27 2, bleach 3, mt-940 4, pytest 5, requests 6, sepaxml 7}: 8 9buildPythonPackage rec { 10 version = "3.0.0"; 11 pname = "fints"; 12 disabled = isPy27; 13 14 src = fetchFromGitHub { 15 owner = "raphaelm"; 16 repo = "python-fints"; 17 rev = "v${version}"; 18 sha256 = "00fqgnmv7z6d792ga4cyzn9lrfjf79jplkssm2jbyb0akfggfj7h"; 19 }; 20 21 propagatedBuildInputs = [ requests mt-940 sepaxml bleach ]; 22 23 checkInputs = [ pytest ]; 24 25 # ignore network calls and broken fixture 26 checkPhase = '' 27 pytest . --ignore=tests/test_client.py -k 'not robust_mode' 28 ''; 29 30 meta = with stdenv.lib; { 31 homepage = https://github.com/raphaelm/python-fints/; 32 description = "Pure-python FinTS (formerly known as HBCI) implementation"; 33 license = licenses.lgpl3; 34 maintainers = with maintainers; [ elohmeier ]; 35 }; 36}