2017-10-10 04:22:16 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi,
|
2017-10-30 05:06:07 +01:00
|
|
|
ofxhome, ofxparse, beautifulsoup4, lxml, keyring
|
2017-10-10 04:22:16 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
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 05:06:07 +01:00
|
|
|
propagatedBuildInputs = [ ofxhome ofxparse beautifulsoup4 lxml keyring ];
|
2017-10-10 04:22:16 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/captin411/ofxclient;
|
|
|
|
description = "OFX client for dowloading transactions from banks";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|