nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, python
5, sqlalchemy
6}:
7
8buildPythonPackage rec {
9 pname = "ofxtools";
10 version = "0.8.20";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "87245679911c0c12429a476fd269611512d3e4b44cb8871159bb76ba70f8a46f";
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}