2018-10-29 18:18:50 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, python
|
|
|
|
, sqlalchemy
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ofxtools";
|
2019-04-16 19:15:38 +02:00
|
|
|
version = "0.5.4";
|
2018-10-29 18:18:50 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-04-16 19:15:38 +02:00
|
|
|
sha256 = "83e1ca0a61463fca99d096a694466726a49979a5d2b8a36a65514c7a8617d3ea";
|
2018-10-29 18:18:50 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
${python.interpreter} -m unittest discover -s ofxtools
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ sqlalchemy ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://github.com/csingley/ofxtools";
|
|
|
|
description = "Library for working with Open Financial Exchange (OFX) formatted data used by financial institutions";
|
|
|
|
license = licenses.mit;
|
|
|
|
broken = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|