diff options
| author | Yan Abu Arab <yanabuarab@gmail.com> | 2025-12-20 02:38:37 +0200 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-08-23 18:16:06 +0200 |
| commit | a8ed3226173185bd0cc1fbaa894e6298b8fff481 (patch) | |
| tree | a8308415b94564ade9b6a569c2e054a1361a1044 /gnu | |
| parent | 62f11816f0f21eedeab3b094a10c83c4a7af38c8 (diff) | |
gnu: Add ruby-tty-markdown.
* gnu/packages/ruby-xyz.scm (ruby-tty-markdown): New variable.
Change-Id: I6f545a7e5b0d12040a0ccfaf540331e0d3a708a9
Signed-off-by: Steve George <steve@futurile.net>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/ruby-xyz.scm | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm index 05e7b5f8c6b..00407cf5816 100644 --- a/gnu/packages/ruby-xyz.scm +++ b/gnu/packages/ruby-xyz.scm | |||
| @@ -603,6 +603,40 @@ a range of terminal application capabilities.") | |||
| 603 | (home-page "https://ttytoolkit.org") | 603 | (home-page "https://ttytoolkit.org") |
| 604 | (license license:expat))) | 604 | (license license:expat))) |
| 605 | 605 | ||
| 606 | (define-public ruby-tty-markdown | ||
| 607 | (package | ||
| 608 | (name "ruby-tty-markdown") | ||
| 609 | (version "0.7.2") | ||
| 610 | (source | ||
| 611 | (origin | ||
| 612 | (method url-fetch) | ||
| 613 | (uri (rubygems-uri "tty-markdown" version)) | ||
| 614 | (sha256 | ||
| 615 | (base32 "04f599zn5rfndq4d9l0acllfpc041bzdkkz2h6x0dl18f2wivn0y")))) | ||
| 616 | (build-system ruby-build-system) | ||
| 617 | (arguments | ||
| 618 | (list | ||
| 619 | #:phases | ||
| 620 | #~(modify-phases %standard-phases | ||
| 621 | (replace 'check | ||
| 622 | (lambda* (#:key tests? #:allow-other-keys) | ||
| 623 | (when tests? | ||
| 624 | (invoke "rspec" "-c" "spec"))))))) | ||
| 625 | (native-inputs (list ruby-rspec)) | ||
| 626 | (propagated-inputs (list ruby-kramdown | ||
| 627 | ruby-pastel | ||
| 628 | ruby-rouge | ||
| 629 | ruby-strings | ||
| 630 | ruby-tty-color | ||
| 631 | ruby-tty-screen)) | ||
| 632 | (synopsis "Convert a markdown document into terminal friendly output") | ||
| 633 | (description | ||
| 634 | "@code{TTY:Markdown} is a markdown processing component for Ruby. It's | ||
| 635 | used to convert markdown text or documents into a terminal friendly output. | ||
| 636 | Part of the TTY Toolkit project.") | ||
| 637 | (home-page "https://ttytoolkit.org") | ||
| 638 | (license license:expat))) | ||
| 639 | |||
| 606 | (define-public ruby-tty-screen | 640 | (define-public ruby-tty-screen |
| 607 | (package | 641 | (package |
| 608 | (name "ruby-tty-screen") | 642 | (name "ruby-tty-screen") |
