summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2018-06-14 21:00:00 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2018-06-14 21:00:00 +0300
commit729a5107f1cd9189d069816d7f3365083abe8f78 (patch)
treeb11ed7bc3b3d4e3a03bd0acc45b7955dcf1a5de7
parentwigust: restic: Add '#:unpack-path'. (diff)
downloadguix-wigust-729a5107f1cd9189d069816d7f3365083abe8f78.tar.gz
wigust: Add ledger-no-tests and emacs-ledger-mode.
* wigust/packages/finance.scm (ledger-no-tests, emacs-ledger-mode): New variables.
-rw-r--r--wigust/packages/finance.scm80
1 files changed, 80 insertions, 0 deletions
diff --git a/wigust/packages/finance.scm b/wigust/packages/finance.scm
new file mode 100644
index 0000000..f9295a6
--- /dev/null
+++ b/wigust/packages/finance.scm
@@ -0,0 +1,80 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (wigust packages finance)
+ #:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix packages)
+ #:use-module (guix download)
+ #:use-module (guix build-system emacs)
+ #:use-module (guix build-system gnu)
+ #:use-module (guix build-system cmake)
+ #:use-module (guix build-system python)
+ #:use-module (gnu packages)
+ #:use-module (gnu packages base)
+ #:use-module (gnu packages boost)
+ #:use-module (gnu packages check)
+ #:use-module (gnu packages databases)
+ #:use-module (gnu packages documentation)
+ #:use-module (gnu packages dns)
+ #:use-module (gnu packages emacs)
+ #:use-module (gnu packages graphviz)
+ #:use-module (gnu packages groff)
+ #:use-module (gnu packages libedit)
+ #:use-module (gnu packages libevent)
+ #:use-module (gnu packages libunwind)
+ #:use-module (gnu packages libusb)
+ #:use-module (gnu packages linux)
+ #:use-module (gnu packages multiprecision)
+ #:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages protobuf)
+ #:use-module (gnu packages python)
+ #:use-module (gnu packages python-crypto)
+ #:use-module (gnu packages python-web)
+ #:use-module (gnu packages qt)
+ #:use-module (gnu packages readline)
+ #:use-module (gnu packages texinfo)
+ #:use-module (gnu packages textutils)
+ #:use-module (gnu packages tls)
+ #:use-module (gnu packages upnp)
+ #:use-module (gnu packages web)
+ #:use-module (gnu packages xml)
+ #:use-module (gnu packages gnuzilla)
+ #:use-module (gnu packages finance))
+
+(define-public ledger-no-tests
+ (package
+ (inherit ledger)
+ (arguments
+ `(#:tests? #f
+ ,@(package-arguments ledger)))))
+
+(define-public emacs-ledger-mode
+ (package
+ (inherit ledger)
+ (name "emacs-ledger-mode")
+ (build-system emacs-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'chdir-elisp
+ ;; Elisp directory is not in root of the source.
+ (lambda _
+ (chdir "lisp"))))))
+ (synopsis "Helper code for use with the @code{ledger} command-line tool")
+ (description "@code{ledger-mode} provides and Emacs major mode for use
+with the @code{ledger} command-line tool.")))