[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#36467] [PATCH 09/12] gnu: Add cl-ledger.
From: |
Guillaume LE VAILLANT |
Subject: |
[bug#36467] [PATCH 09/12] gnu: Add cl-ledger. |
Date: |
Tue, 2 Jul 2019 00:31:24 +0200 |
* 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."))))
(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 accounting
+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))
--
2.22.0
- [bug#36467] [PATCH 04/12] gnu: Add periods-series, (continued)
- [bug#36467] [PATCH 04/12] gnu: Add periods-series, Guillaume LE VAILLANT, 2019/07/01
- [bug#36467] [PATCH 03/12] gnu: Add periods., Guillaume LE VAILLANT, 2019/07/01
- [bug#36467] [PATCH 05/12] gnu: Add metatilities-base, Guillaume LE VAILLANT, 2019/07/01
- [bug#36467] [PATCH 06/12] gnu: Add cl-containers, Guillaume LE VAILLANT, 2019/07/01
- [bug#36467] [PATCH 10/12] gnu: Add bst., Guillaume LE VAILLANT, 2019/07/01
- [bug#36467] [PATCH 12/12] gnu: Add cl-lzlib, Guillaume LE VAILLANT, 2019/07/01
- [bug#36467] [PATCH 07/12] gnu: Add xlunit, Guillaume LE VAILLANT, 2019/07/01
- [bug#36467] [PATCH 02/12] gnu: Add series., Guillaume LE VAILLANT, 2019/07/01
- [bug#36467] [PATCH 08/12] gnu: Add cambl., Guillaume LE VAILLANT, 2019/07/01
- [bug#36467] [PATCH 11/12] gnu: Add cl-octet-streams, Guillaume LE VAILLANT, 2019/07/01
- [bug#36467] [PATCH 09/12] gnu: Add cl-ledger.,
Guillaume LE VAILLANT <=