From 9319129e585096ba9fc91cd9142eb398152b0ad0 Mon Sep 17 00:00:00 2001 From: Antoine Eiche Date: Wed, 13 Jan 2016 19:15:04 +0100 Subject: [PATCH] ledger-autosync: init at 0.2.3 --- pkgs/top-level/python-packages.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 0494c97b7e3..abffcf1fb84 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5610,6 +5610,32 @@ in modules // { }; }; + ledger-autosync = buildPythonPackage rec { + name = "ledger-autosync-${version}"; + version = "0.2.3"; + src = pkgs.fetchurl { + url = "https://pypi.python.org/packages/source/l/ledger-autosync/ledger-autosync-${version}.tar.gz"; + sha256 = "f19fa66e656309825887171d84a462e64676b1cc36b62e4dd8679ff63926a469"; + }; + + buildInputs = [ + self.ofxclient self.mock + # Used at runtime to translate ofx entries to the ledger + # format. In fact, user could use either ledger or hledger. + pkgs.which pkgs.ledger ]; + + # Tests are disable since they require hledger and python-ledger + doCheck = false; + + meta = { + homepage = https://gitlab.com/egh/ledger-autosync; + description = "ledger-autosync is a program to pull down transactions from your bank and create ledger transactions for them"; + license = licenses.gpl3; + maintainers = with maintainers; [ lewo ]; + }; + }; + + libthumbor = buildPythonPackage rec { name = "libthumbor-${version}"; version = "1.2.0";