mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-15 11:25:22 -05:00
gnu: Add ruby-asciidoctor-multipage.
* gnu/packages/ruby.scm (ruby-asciidoctor-multipage): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
4b13273d3a
commit
aa6bbbb1ea
1 changed files with 33 additions and 0 deletions
|
@ -1298,6 +1298,39 @@ (define-public ruby-asciidoctor
|
|||
(home-page "https://asciidoctor.org")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public ruby-asciidoctor-multipage
|
||||
(package
|
||||
(name "ruby-asciidoctor-multipage")
|
||||
(version "0.0.15")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/owenh000/asciidoctor-multipage")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"01qqkf00cp4sj82brz8kl02pjirydafwgld3z166slysiq78d1c5"))))
|
||||
(propagated-inputs (list ruby-asciidoctor ruby-slim))
|
||||
(build-system ruby-build-system)
|
||||
(arguments
|
||||
`(#:phases (modify-phases %standard-phases
|
||||
(add-after 'extract-gemspec 'strip-version-requirements
|
||||
(lambda _
|
||||
(delete-file "Gemfile")
|
||||
(substitute* "asciidoctor-multipage.gemspec"
|
||||
(("(.*add_.*dependency '[_A-Za-z0-9-]+').*" _ stripped)
|
||||
(string-append stripped "
|
||||
"))) #t)))))
|
||||
(synopsis
|
||||
"Asciidoctor extension for generating HTML output using multiple pages")
|
||||
(description
|
||||
"Asciidoctor generates single-page documents. This extension
|
||||
splits documents up into multiple HTML pages according to their headings, with
|
||||
configurable levels.")
|
||||
(license license:expat)
|
||||
(home-page "https://github.com/owenh000/asciidoctor-multipage")))
|
||||
|
||||
(define-public ruby-prawn-icon
|
||||
(package
|
||||
(name "ruby-prawn-icon")
|
||||
|
|
Loading…
Reference in a new issue