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