You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

70 lines
2.9 KiB

  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org>
  3. ;;;
  4. ;;; This file is part of GNU Guix.
  5. ;;;
  6. ;;; GNU Guix is free software; you can redistribute it and/or modify it
  7. ;;; under the terms of the GNU General Public License as published by
  8. ;;; the Free Software Foundation; either version 3 of the License, or (at
  9. ;;; your option) any later version.
  10. ;;;
  11. ;;; GNU Guix is distributed in the hope that it will be useful, but
  12. ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
  13. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. ;;; GNU General Public License for more details.
  15. ;;;
  16. ;;; You should have received a copy of the GNU General Public License
  17. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
  18. (define-module (gnu packages skribilo)
  19. #:use-module (guix packages)
  20. #:use-module (guix download)
  21. #:use-module (guix licenses)
  22. #:use-module (guix build-system gnu)
  23. #:use-module (gnu packages guile)
  24. #:use-module (gnu packages lout)
  25. #:use-module (gnu packages imagemagick)
  26. #:use-module (gnu packages ghostscript))
  27. (define-public skribilo
  28. (package
  29. (name "skribilo")
  30. (version "0.9.2")
  31. (source (origin
  32. (method url-fetch)
  33. (uri (string-append "mirror://savannah/skribilo/skribilo-"
  34. version ".tar.gz"))
  35. (sha256
  36. (base32
  37. "0wwi996403wzcp8s8iyc2p6w7f9v39lwmy35ysdd3wc31i5dy19q"))))
  38. (build-system gnu-build-system)
  39. (arguments
  40. ;; Make the modules available under the usual location.
  41. '(#:configure-flags (list (string-append "--with-guilemoduledir="
  42. (assoc-ref %outputs "out")
  43. "/share/guile/site/2.0"))
  44. #:parallel-build? #f))
  45. ;; TODO: Add Ploticus.
  46. (inputs `(("guile" ,guile-2.0)
  47. ("guile-reader" ,guile-reader/guile-2.0)
  48. ("guile-lib" ,guile-lib)
  49. ("imagemagick" ,imagemagick)
  50. ("ghostscript" ,ghostscript) ; for 'convert'
  51. ("lout" ,lout)))
  52. (home-page "http://www.nongnu.org/skribilo/")
  53. (synopsis "Document production tool written in Guile Scheme")
  54. (description
  55. "Skribilo is a free document production tool that takes a structured
  56. document representation as its input and renders that document in a variety of
  57. output formats: HTML and Info for on-line browsing, and Lout and LaTeX for
  58. high-quality hard copies.
  59. The input document can use Skribilo's markup language to provide information
  60. about the document's structure, which is similar to HTML or LaTeX and does not
  61. require expertise. Alternatively, it can use a simpler, “markup-less” format
  62. that borrows from Emacs' outline mode and from other conventions used in
  63. emails, Usenet and text.
  64. Lastly, Skribilo provides Guile Scheme APIs.")
  65. (license gpl3+)))