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