From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:35094) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hi4vO-0006d4-TC for guix-patches@gnu.org; Mon, 01 Jul 2019 18:37:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hi4vD-0004Vf-5Y for guix-patches@gnu.org; Mon, 01 Jul 2019 18:37:18 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37453) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hi4uz-0004OI-PN for guix-patches@gnu.org; Mon, 01 Jul 2019 18:37:13 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hi4uz-0002S3-Jk for guix-patches@gnu.org; Mon, 01 Jul 2019 18:37:01 -0400 Subject: [bug#36467] [PATCH 09/12] gnu: Add cl-ledger. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:34811) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hi4u0-00067e-KR for guix-patches@gnu.org; Mon, 01 Jul 2019 18:36:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hi4tt-0003vw-Ui for guix-patches@gnu.org; Mon, 01 Jul 2019 18:35:57 -0400 Received: from mout02.posteo.de ([185.67.36.66]:37929) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hi4tc-0002p9-Nc for guix-patches@gnu.org; Mon, 01 Jul 2019 18:35:38 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 3818D2400E5 for ; Tue, 2 Jul 2019 00:33:08 +0200 (CEST) From: Guillaume LE VAILLANT Date: Tue, 2 Jul 2019 00:31:24 +0200 Message-Id: <20190701223127.32222-9-glv@posteo.net> In-Reply-To: <20190701223127.32222-1-glv@posteo.net> References: <20190701222716.12254-1-glv@posteo.net> <20190701223127.32222-1-glv@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 36467@debbugs.gnu.org Cc: Guillaume LE VAILLANT * gnu/packages/lisp.scm (sbcl-cl-ledger, cl-ledger): New variables. --- gnu/packages/lisp.scm | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index 425b8029fd..ad77792cb9 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -6242,3 +6242,45 @@ purpose of financial calculations.")))) =20 (define-public cl-cambl (sbcl-package->cl-source-package sbcl-cambl)) + +(define-public sbcl-cl-ledger + (let ((commit "5e1c6ce410a485f455e61c5e38d1d1169c50eea4") + (revision "1")) + (package + (name "sbcl-cl-ledger") + (version (git-version "4.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ledger/cl-ledger.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1hxqsh92jj5wjs1gr0lkfck5lzqp9giqi0b8d7iiaxljprqk9hki")))) + (build-system asdf-build-system/sbcl) + (inputs + `(("cambl" ,sbcl-cambl) + ("cl-ppcre" ,sbcl-cl-ppcre) + ("local-time" ,sbcl-local-time) + ("periods-series" ,sbcl-periods-series))) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-system-definition + (lambda _ + (substitute* "cl-ledger.asd" + ((" :build-operation program-op") "") + ((" :build-pathname \"cl-ledger\"") "") + ((" :entry-point \"ledger::main\"") "")) + #t))))) + (synopsis "Common Lisp port of the Ledger accounting system") + (description + "CL-Ledger is a Common Lisp port of the Ledger double-entry accou= nting +system.") + (home-page "https://github.com/ledger/cl-ledger") + (license license:bsd-3)))) + +(define-public cl-ledger + (sbcl-package->cl-source-package sbcl-cl-ledger)) --=20 2.22.0