pythonPackages.ofxclient: 1.3.8 -> 2.0.3

This commit is contained in:
Tom Saeger 2017-10-09 21:22:16 -05:00
parent 66f8512e4f
commit 2227d3586e
2 changed files with 30 additions and 16 deletions

View File

@ -0,0 +1,29 @@
{ stdenv, buildPythonPackage, fetchPypi,
ofxhome, ofxparse, beautifulsoup, lxml, keyring
}:
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;
propagatedBuildInputs = [ ofxhome ofxparse beautifulsoup lxml keyring ];
meta = with stdenv.lib; {
homepage = https://github.com/captin411/ofxclient;
description = "OFX client for dowloading transactions from banks";
license = licenses.mit;
};
}

View File

@ -24776,22 +24776,7 @@ EOF
};
};
ofxclient = buildPythonPackage rec {
name = "ofxclient-1.3.8";
src = pkgs.fetchurl {
url = "mirror://pypi/o/ofxclient/${name}.tar.gz";
sha256 = "99ab03bffdb30d9ec98724898f428f8e73129483417d5892799a0f0d2249f233";
};
patchPhase = ''
substituteInPlace setup.py --replace '"argparse",' ""
'';
# ImportError: No module named tests
doCheck = false;
propagatedBuildInputs = with self; [ ofxhome ofxparse beautifulsoup keyring ];
};
ofxclient = callPackage ../development/python-modules/ofxclient {};
ofxhome = buildPythonPackage rec {
name = "ofxhome-0.3.1";