1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, python
5, sqlalchemy
6}:
7
8buildPythonPackage rec {
9 pname = "ofxtools";
10 version = "0.5.2";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "520345d3b440447696b8f84a4e752573666ff8d1fe0300316cd07995ae05176f";
15 };
16
17 checkPhase = ''
18 ${python.interpreter} -m unittest discover -s ofxtools
19 '';
20
21 buildInputs = [ sqlalchemy ];
22
23 meta = with stdenv.lib; {
24 homepage = "https://github.com/csingley/ofxtools";
25 description = "Library for working with Open Financial Exchange (OFX) formatted data used by financial institutions";
26 license = licenses.mit;
27 broken = true;
28 };
29
30}