1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 ofxhome,
6 ofxparse,
7 beautifulsoup4,
8 lxml,
9 keyring,
10}:
11
12buildPythonPackage rec {
13 version = "2.0.3";
14 format = "setuptools";
15 pname = "ofxclient";
16
17 src = fetchPypi {
18 inherit pname version;
19 sha256 = "0jdhqsbl34yn3n0x6mwsnl58c25v5lp6vr910c2hk7l74l5y7538";
20 };
21
22 patchPhase = ''
23 substituteInPlace setup.py --replace '"argparse",' ""
24 '';
25
26 # ImportError: No module named tests
27 doCheck = false;
28
29 propagatedBuildInputs = [
30 ofxhome
31 ofxparse
32 beautifulsoup4
33 lxml
34 keyring
35 ];
36
37 meta = with lib; {
38 homepage = "https://github.com/captin411/ofxclient";
39 description = "OFX client for dowloading transactions from banks";
40 mainProgram = "ofxclient";
41 license = licenses.mit;
42 };
43}