mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 04:59:27 -05:00
gnu: glirc: Install man page and README.md.
* gnu/packages/irc.scm (glirc)[arguments]: Add a new 'install-extra-documentation phase.
This commit is contained in:
parent
a34c1c9c18
commit
fdc0721253
1 changed files with 13 additions and 0 deletions
|
@ -107,6 +107,19 @@ (define-public glirc
|
|||
(sha256
|
||||
(base32 "0jaywb43jfv6kzyz540k02mxdgw1shc6hn7kia21alssszkilh4r"))))
|
||||
(build-system haskell-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'install 'install-extra-documentation
|
||||
(lambda _
|
||||
(install-file "glirc.1"
|
||||
(string-append #$output "/share/man/man1"))
|
||||
;; The man page is very terse and punts to the GitHub wiki for real
|
||||
;; information. Some of that is also in the README, so install it.
|
||||
(install-file "README.md"
|
||||
(string-append #$output "/share/doc/"
|
||||
#$name "-" #$version)))))))
|
||||
(native-inputs
|
||||
(list ghc-hunit))
|
||||
(inputs
|
||||
|
|
Loading…
Reference in a new issue