Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 30 lines 648 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, python 5, sqlalchemy 6}: 7 8buildPythonPackage rec { 9 pname = "ofxtools"; 10 version = "0.5.4"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "83e1ca0a61463fca99d096a694466726a49979a5d2b8a36a65514c7a8617d3ea"; 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}