1{ stdenv, buildPythonPackage, fetchPypi,
2 requests, mt-940, sepaxml, bleach, isPy3k }:
3
4buildPythonPackage rec {
5 version = "2.0.1";
6 pname = "fints";
7 disabled = !isPy3k;
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "27427b5e6536b592f964c464a8f0c75c5725176604e9d0f208772a45918d9b78";
12 };
13
14 propagatedBuildInputs = [ requests mt-940 sepaxml bleach ];
15
16 # no tests included in PyPI package
17 doCheck = false;
18
19 meta = with stdenv.lib; {
20 homepage = https://github.com/raphaelm/python-fints/;
21 description = "Pure-python FinTS (formerly known as HBCI) implementation";
22 license = licenses.lgpl3;
23 maintainers = with maintainers; [ elohmeier ];
24 };
25}