gnu: hledger: Install documentation.

* gnu/packages/finance.scm (hledger)[phases]: Add install-doc phase

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Morgan Smith 2023-01-11 13:14:34 -05:00 committed by Ludovic Courtès
parent b9d676e0ee
commit 287e282236
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -227,6 +227,14 @@ (define-public hledger
(base32
"07fcfkmv4cy92njnf2qc7jh0naz96q962hxldcd7hk4k7ddv0mss"))))
(build-system haskell-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'install 'install-doc
(lambda _
(install-file "hledger.info" (string-append #$output "/share/info"))
(install-file "hledger.1" (string-append #$output "/man/man1")))))))
(inputs
(list ghc-ansi-terminal
ghc-base-compat-batteries