summary refs log tree commit diff
path: root/pkgs/development/python-modules/ofxclient/default.nix
blob: 2bde7b174d33f5989aeb8603aa30d3da302d859f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ stdenv, buildPythonPackage, fetchPypi,
 ofxhome, ofxparse, beautifulsoup4, lxml, keyring
}:

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;

  propagatedBuildInputs = [ ofxhome ofxparse beautifulsoup4 lxml keyring ];

  meta = with stdenv.lib; {
    homepage = https://github.com/captin411/ofxclient;
    description = "OFX client for dowloading transactions from banks";
    license = licenses.mit;
  };
}