2017-10-10 03:22:16 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi,
|
2017-10-30 04:06:07 +00:00
|
|
|
ofxhome, ofxparse, beautifulsoup4, lxml, keyring
|
2017-10-10 03:22:16 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
version = "2.0.3";
|
|
|
|
pname = "ofxclient";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0jdhqsbl34yn3n0x6mwsnl58c25v5lp6vr910c2hk7l74l5y7538";
|
|
|
|
};
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
substituteInPlace setup.py --replace '"argparse",' ""
|
|
|
|
'';
|
|
|
|
|
|
|
|
# ImportError: No module named tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2017-10-30 04:06:07 +00:00
|
|
|
propagatedBuildInputs = [ ofxhome ofxparse beautifulsoup4 lxml keyring ];
|
2017-10-10 03:22:16 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/captin411/ofxclient";
|
2017-10-10 03:22:16 +01:00
|
|
|
description = "OFX client for dowloading transactions from banks";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|