Merge pull request #30264 from tsaeger/tsaeger/ofxclient

pythonPackages.ofxclient: 1.3.8 -> 2.0.3
This commit is contained in:
Frederik Rietdijk 2017-10-28 08:56:10 +02:00 committed by GitHub
commit dcff3ccc0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

@ -24682,22 +24682,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";