1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-07-12 18:14:06 +02:00

Compare commits

...

37 Commits

Author SHA1 Message Date
Steve George d0d906917c gnu: ruby: Update to use 3.4 series.
* gnu/packages/ruby.scm (ruby): Use Ruby-3.4 which is still
  in full maintenance period.

Signed-off-by: Steve George <steve@futurile.net>
2026-04-26 12:41:27 +01:00
Aaron Covrig 2288a14a60 gnu: ruby-timeout: Update to 0.6.0.
* gnu/packages/ruby-xyz.scm (ruby-timeout): Update to 0.6.0.

Change-Id: Ic87e5011edb627cf902a85e50ccbc7425a3c9c28
2026-04-26 12:41:27 +01:00
Aaron Covrig da50337f6b gnu: ruby-diffy: Update to 3.4.4.
* gnu/packages/ruby-xyz.scm (ruby-diffy): Update to 3.4.4.
[native-inputs]: Add ruby-rake.
[arguments]<#:test-target>: Set to spec and enable tests.

Change-Id: Iaaf371ca93089781ee48ff1c530f1abde09483d9
Signed-off-by: Steve George <steve@futurile.net>
2026-04-26 12:41:27 +01:00
Aaron Covrig 939ce93a12 gnu: ruby-rainbow: Update to 3.1.1.
* gnu/packages/ruby-xyz.scm (ruby-rainbow): Update to 3.1.1.

Change-Id: I12b411ca895894b859ce6e2e9f87043bc5ca4825
Signed-off-by: Steve George <steve@futurile.net>
2026-04-26 12:41:27 +01:00
Aaron Covrig 421df8e79b gnu: ruby-tilt: Update to 2.7.0.
* gnu/packages/ruby-xyz.scm (ruby-tilt): Update to 2.7.0.
[propagated-inputs]: Remove ruby-pandoc-ruby and ruby-sassc.
[native-inputs]: Remove bundler, ruby-yard, ruby-builder, ruby-erubis, and
ruby-markaby.

Change-Id: I2ccbc8325cb8fa32e4b110b448f61a7ad7a33d6a
Signed-off-by: Steve George <steve@futurile.net>
2026-04-26 12:41:27 +01:00
Aaron Covrig c534e0adfd gnu: ruby-slim: Update native-inputs.
* gnu/packages/ruby-xyz.scm (ruby-slim): Update native-inputs.
[native-inputs]: Add ruby-pandoc-ruby.
[home-page]: Update url to https.

Change-Id: I632fabcb8e785a5494ff34a5d38be5dabe2f00e7
Signed-off-by: Steve George <steve@futurile.net>
2026-04-26 12:41:27 +01:00
Aaron Covrig 3b338604b8 gnu: ruby-timecop: Update to 0.9.10.
* gnu/packages/ruby-xyz.scm (ruby-timecop): Update to 0.9.10.

Change-Id: Ie5d9220b3963870946c6c7ad8397d3edb5f97a6d
Signed-off-by: Steve George <steve@futurile.net>
2026-04-26 12:41:27 +01:00
Aaron Covrig 67c8d652fd gnu: ruby-unicode-display-width: Update to 3.2.0.
* gnu/packages/ruby-xyz.scm (ruby-unicode-display-width): Update to 3.2.0.
[propagated-inputs]: Add ruby-unicode-emoji.

Change-Id: Ida9c8fc4f005153ae1395ac9939441d7b405263d
Signed-off-by: Steve George <steve@futurile.net>
2026-04-26 12:41:27 +01:00
Aaron Covrig 3a2775a160 gnu: Add ruby-unicode-emoji.
* gnu/packages/ruby-xyz.scm (ruby-unicode-emoji): New variable.

Change-Id: Ia07e49d5d1e66cc2605426a03a2eff0ff9a17bee
Signed-off-by: Steve George <steve@futurile.net>
2026-04-26 12:41:27 +01:00
Aaron Covrig 5e5ff1381b gnu: ruby-terminal-table: Update to 4.0.0.
* gnu/packages/ruby-xyz.scm (ruby-terminal-table): Update to 4.0.0.
[native-inputs]: Remove ruby-term-ansicolor.

Change-Id: Idde31b70c3e0e8e18a99e38a7344ac339a9d24bf
Signed-off-by: Steve George <steve@futurile.net>
2026-04-26 12:41:27 +01:00
Aaron Covrig ef165bcf5a gnu: jekyll: Loosen dependencies.
* gnu/packages/ruby-xyz.scm (jekyll): Loosen dependencies.
[arguments]<#:phases>{loosen-dependencies}: New phase.

Change-Id: I832d2a4d1d9b84675906bb9d6fa7e2265f911c52
Signed-off-by: Steve George <steve@futurile.net>
2026-04-26 12:41:27 +01:00
Aaron Covrig f8f1778c69 gnu: ruby-concurrent-ruby: Update to 1.3.6.
* gnu/packages/ruby-xyz.scm (ruby-concurrent-ruby): Update to 1.3.6.

Change-Id: Idb3268ff21495e5d339641f970b4c281a4a18a24
2026-04-26 12:41:27 +01:00
Aaron Covrig 1e88181626 gnu: ruby-pg: Update to 1.6.3.
* gnu/packages/ruby-xyz.scm (ruby-pg): Update to 1.6.3.
[source]: Remove patch.

Change-Id: Iadd1ae740a6e46c1f27ff194f160c16878d0a27b
Signed-off-by: Steve George <steve@futurile.net>
2026-04-26 12:41:27 +01:00
Aaron Covrig c364afa1d6 gnu: ruby-faker: Update to 3.6.0.
* gnu/packages/ruby-xyz.scm (ruby-faker): Update to 3.6.0.
[description]: Add space after period.

Change-Id: I2b45827ece0e9db3a7a0c7d6a69c29f5f3a6e13f
Signed-off-by: Steve George <steve@futurile.net>
2026-04-26 12:41:27 +01:00
Aaron Covrig 8dffe4713d gnu: ruby-rubygems-tasks: Update to 0.3.0.
* gnu/packages/ruby-xyz.scm (ruby-rubygems-tasks): Update to 0.3.0.

Change-Id: Ib5d2191b82f28f99b5d44a663f782c25d12ed218
Signed-off-by: Steve George <steve@futurile.net>
2026-04-26 12:41:27 +01:00
Steve George f1286d6bf1 gnu: Update ruby-method-source.
* gnu/packages/ruby-xyz.scm (ruby-method-source): Update to 1.1.0.
  [arguments]<#:ruby>: Use ruby-3.3.

Signed-off-by: Steve George <steve@futurile.net>
2026-04-26 12:41:23 +01:00
gemmaro 8cb29ebe60 gnu: ruby-racc: Update to 1.8.1.
* gnu/packages/ruby-xyz.scm (ruby-racc): Update to 1.8.1.
[source]: Use the Git repository for tests.
[arguments]<#:tests?>: Remove the disabling of tests.
<#:phases>: Add the compile phase before the build phase to support the
optional native extension for performance improvements.
[native-inputs]: Remove Hoe and add test-unit-ruby-core as a test dependency.

Change-Id: If3295179b6401db63cd5c1ab3beb77fe0579eaae
2026-04-26 12:07:48 +01:00
Yan Abu Arab 56b1a933f1 gnu: Add bashly.
* gnu/packages/bash.scm (bashly): New variable.

Change-Id: I242872ae6e958865fed7d4f63c590b3908ff61a0
Signed-off-by: Steve George <steve@futurile.net>
2026-04-26 12:07:48 +01:00
Yan Abu Arab 19019755ad 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>
2026-04-26 12:07:48 +01:00
Yan Abu Arab 57a0260359 gnu: Add ruby-strings.
* gnu/packages/ruby-xyz.scm (ruby-strings): New variable.

Change-Id: I72fe90e20fb7971f13717633fb8495319ad76dae
Signed-off-by: Steve George <steve@futurile.net>
2026-04-26 12:07:48 +01:00
Yan Abu Arab 82b8284ce1 gnu: Add ruby-strings-ansi.
* gnu/packages/ruby-xyz.scm (ruby-strings-ansi): New variable.

Change-Id: I5cccefb9ecc2f6a7a446432134de8284beeb02b0
Signed-off-by: Steve George <steve@futurile.net>
2026-04-26 12:07:48 +01:00
Yan Abu Arab 7c290d6667 gnu: Add ruby-unicode-utils.
* gnu/packages/ruby-xyz.scm (ruby-unicode-utils): New variable.

Change-Id: I9c7d65878ea3740590574fc95e6df6d363af41f5
Signed-off-by: Steve George <steve@futurile.net>
2026-04-26 12:07:48 +01:00
Yan Abu Arab 46a4f15a55 gnu: Add ruby-pastel.
* gnu/packages/ruby-xyz.scm (ruby-pastel): New variable.

Change-Id: Id29ba0f928d96d74cb8c8a103efeaa13ca42844e
Signed-off-by: Steve George <steve@futurile.net>
2026-04-26 12:07:48 +01:00
Yan Abu Arab d407ea1404 gnu: Add ruby-tty-color.
* gnu/packages/ruby-xyz.scm (ruby-tty-color): New variable.

Change-Id: I1ac670580783b37278b2d8b911d55db36ce1bb82
Signed-off-by: Steve George <steve@futurile.net>
2026-04-26 12:07:48 +01:00
Yan Abu Arab 3da6a0bc9d gnu: Add ruby-tty-screen.
* gnu/packages/ruby-xyz.scm (ruby-tty-screen): New variable.

Change-Id: I95dbd3b246bdfaeaf405b801ecee8ea601181d53
Signed-off-by: Steve George <steve@futurile.net>
2026-04-26 12:07:48 +01:00
Yan Abu Arab 44ac95c31f gnu: Add ruby-requires.
* gnu/packages/ruby-xyz.scm (ruby-requires): New variable.

Change-Id: I1c7be3706228519ba0863757067fc16ec9441159
Signed-off-by: Steve George <steve@futurile.net>
2026-04-26 12:07:48 +01:00
Yan Abu Arab e734102b74 gnu: Add ruby-ostruct.
* gnu/packages/ruby-xyz.scm (ruby-ostruct): New variable.

Change-Id: Id3aeac1448ea8eea2dc2d18f1f9948695b45a128
Signed-off-by: Steve George <steve@futurile.net>
2026-04-26 12:07:48 +01:00
Yan Abu Arab 4a041b080e gnu: Add ruby-lp.
* gnu/packages/ruby-xyz.scm (ruby-lp): New variable.

Change-Id: I945c9655b15a20cf9f7eb98046688c095103191d
2026-04-26 12:07:48 +01:00
Yan Abu Arab a3ae72cebe gnu: Add ruby-logger.
* gnu/packages/ruby-xyz.scm (ruby-logger): New variable.

Change-Id: I4bf70d0454508ab26796ffaa9760b8b7bc47b412
Signed-off-by: Steve George <steve@futurile.net>
2026-04-26 12:07:48 +01:00
Yan Abu Arab 4dea734cb7 gnu: Add ruby-gtx.
* gnu/packages/ruby-xyz.scm (ruby-gtx): New variable.

Change-Id: I299aced1e3c3bde74842ed3eb1b7715907d29f59
Signed-off-by: Steve George <steve@futurile.net>
2026-04-26 12:07:48 +01:00
Yan Abu Arab 44019bf299 gnu: Add ruby-erb.
* gnu/packages/ruby-xyz.scm (ruby-erb): New variable.

Change-Id: Ie93d17f86117cac8a7578cd6f67f37f98c694dc9
Signed-off-by: Steve George <steve@futurile.net>
2026-04-26 12:07:48 +01:00
Yan Abu Arab 3a7d19de6a gnu: Add ruby-filewatcher.
* gnu/packages/ruby-xyz.scm (ruby-filewatcher): New variable.

Change-Id: I8000180150dd459892286ae2e113c11ad6bd1703
Signed-off-by: Steve George <steve@futurile.net>
2026-04-26 12:07:48 +01:00
Yan Abu Arab b03996be13 gnu: Add ruby-module-methods.
* gnu/packages/ruby-xyz.scm (ruby-module-methods): New variable.

Change-Id: Ie56b41d3b3e46efc1f93082229720798b0bc07ce
Signed-off-by: Steve George <steve@futurile.net>
2026-04-26 12:07:48 +01:00
Yan Abu Arab 7ad161c1c8 gnu: Add ruby-completely.
* gnu/packages/ruby-xyz (ruby-completely): New variable.

Change-Id: I8a302bb43b9ffb4ca80ba22341f5f8c13ab7a4e1
Signed-off-by: Steve George <steve@futurile.net>
2026-04-26 12:07:48 +01:00
Yan Abu Arab 4dd12d40d8 gnu: Add ruby-mister-bin.
* gnu/packages/ruby-xyz (ruby-mister-bin): New variable.

Change-Id: I19471c1435d2a64d1b4fa349273e5387fdaf9b16
Signed-off-by: Steve George <steve@futurile.net>
2026-04-26 12:07:48 +01:00
Yan Abu Arab ef3aec8060 gnu: Add ruby-docopt-ng.
* gnu/packages/ruby-xyz (ruby-docopt-ng): New variable.

Change-Id: I630bae2f85829df393e45d01679535ff1331bd41
Signed-off-by: Steve George <steve@futurile.net>
2026-04-26 12:07:48 +01:00
Yan Abu Arab 057e45fa94 gnu: Add ruby-colsole.
* gnu/packages/ruby-xyz.scm (ruby-colsole): New variable.

Closes: guix/guix#4985
Change-Id: Ic45d94aecbe190d363cf91c026233cd2c26d43f1
Signed-off-by: Steve George <steve@futurile.net>
2026-04-26 12:07:48 +01:00
3 changed files with 681 additions and 119 deletions
+43
View File
@@ -37,6 +37,8 @@
#:use-module (gnu packages elf)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages readline)
#:use-module (gnu packages ruby-check)
#:use-module (gnu packages ruby-xyz)
#:use-module (gnu packages bison)
#:use-module (gnu packages linux)
#:use-module (gnu packages libffi)
@@ -53,6 +55,7 @@
#:use-module (guix store)
#:use-module (guix build-system copy)
#:use-module (guix build-system gnu)
#:use-module (guix build-system ruby)
#:use-module (guix build-system trivial)
#:autoload (guix gnupg) (gnupg-verify*)
#:autoload (guix base32) (bytevector->nix-base32-string)
@@ -513,6 +516,46 @@ function interface (FFI) directly in your shell. In other words, it allows
you to call routines in shared libraries from within Bash.")
(license license:expat)))
(define-public bashly
(package
(name "bashly")
(version "1.3.5")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "bashly" version))
(sha256
(base32 "17msjzca5ifx8biimdjps655w51yc82d5ys9hwn749bi2f3n8mcz"))))
(build-system ruby-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "rspec" "-c" "spec")))))))
(native-inputs (list ruby-rspec))
(propagated-inputs (list ruby-colsole
ruby-completely
ruby-filewatcher
ruby-gtx
ruby-logger
ruby-lp
ruby-mister-bin
ruby-ostruct
ruby-requires
ruby-tty-markdown))
(synopsis
"Create feature-rich Bash scrips using simple YAML configuration")
(description
"Bashly is a CLI for generating feature-rich Bash command line
tools. Bashly lets you focus on your specific code, without worrying about
command line argument parsing, usage texts, error messages and other functions
that are usually handled by a framework in other programming languages.")
(home-page "https://bashly.dev/")
(license license:expat)))
(define-public blesh
(package
(name "blesh")
+598 -79
View File
@@ -31,7 +31,7 @@
;;; Copyright © 2022-2025 Remco van 't Veer <remco@remworks.net>
;;; Copyright © 2022 Taiju HIGASHI <higashi@taiju.info>
;;; Copyright © 2023 Yovan Naumovski <yovan@gorski.stream>
;;; Copyright © 2023, 2024, 2025 gemmaro <gemmaro.dev@gmail.com>
;;; Copyright © 2023, 2024, 2025, 2026 gemmaro <gemmaro.dev@gmail.com>
;;; Copyright © 2023, 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2023, 2024 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2023-2025 Hartmut Goebel <h.goebel@crazy-compilers.com>
@@ -107,6 +107,7 @@
#:use-module (gnu packages virtualization)
#:use-module (gnu packages web-browsers)
#:use-module (gnu packages serialization)
#:use-module (gnu packages unicode)
#:use-module (gnu packages xml)
#:use-module (gnu packages web)
#:use-module (gnu packages ruby)
@@ -120,6 +121,32 @@
license:gpl2+
license:gpl3+))
(define-public ruby-colsole
(package
(name "ruby-colsole")
(version "1.0.0")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "colsole" version))
(sha256
(base32 "1fvf6dz2wsvjk7q24z0dm8lajq3p2l6i5ywf3mxj683rmhwq49bg"))))
(build-system ruby-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "rspec" "-c" "spec")))))))
(native-inputs (list ruby-rspec))
(synopsis "Utility functions for colorful console applications")
(description
"Utility functions for writing colorful console applications.")
(home-page "https://github.com/DannyBen/colsole")
(license license:expat)))
(define-public ruby-commander
(package
(name "ruby-commander")
@@ -158,6 +185,123 @@ libraries (OptionParser, HighLine), while providing many new features, and an
elegant API.")
(license license:expat)))
(define-public ruby-completely
(package
(name "ruby-completely")
(version "0.7.5")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "completely" version))
(sha256
(base32 "00nakfa4yg4qj8m4ircg5mkr99xjzynrkisr5ihpbdpylsqgbf2f"))))
(build-system ruby-build-system)
(propagated-inputs (list ruby-colsole ruby-mister-bin))
(arguments
(list
#:tests? #f)) ; no tests
(native-inputs (list ruby-rspec))
(synopsis
"Generate Bash completion scripts using simple YAML configuration")
(description
"Command line utility and a Ruby library to generate Bash completion
scripts from simple YAML configuration.")
(home-page "https://github.com/bashly-framework/completely")
(license license:expat)))
(define-public ruby-docopt-ng
(package
(name "ruby-docopt-ng")
(version "0.7.1")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "docopt_ng" version))
(sha256
(base32 "0rsnl5s7k2s1gl4n4dg68ssg577kf11sl4a4l2lb2fpswj718950"))))
(build-system ruby-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda _
(invoke "rspec" "-c" "spec"))))))
(native-inputs (list ruby-rspec))
(synopsis
"The Ruby port of Docopt, the option parser written originally in Python")
(description
"Parse command line arguments from nothing more than a usage message.")
(home-page "https://docopt.org/")
(license license:expat)))
(define-public ruby-erb
(package
(name "ruby-erb")
(version "6.0.1")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "erb" version))
(sha256
(base32 "1rcpq49pyaiclpjp3c3qjl25r95hqvin2q2dczaynaj7qncxvv18"))))
(build-system ruby-build-system)
(arguments
(list
;; no tests
#:tests? #f))
(native-inputs (list ruby-rspec))
(synopsis "Easy to use but powerful templating system")
(description "ERB is an easy to use, but also very powerful, template
processor.")
(home-page "https://github.com/ruby/erb")
(license (list license:bsd-2))))
(define-public ruby-filewatcher
(package
(name "ruby-filewatcher")
(version "2.1.0")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "filewatcher" version))
(sha256
(base32 "03f9v57c5zag09mi10yjhdx7y0vv2w5wrnwzbij9hhkwh43rk077"))))
(build-system ruby-build-system)
(arguments
(list
;;TODO: Investigate why tests fail
#:tests? #f))
(propagated-inputs (list ruby-module-methods))
(synopsis "Ruby gem to perform actions when files are changed")
(description "Detect changes in file system. Works anywhere. No config
files. Pure Ruby implementation and minimalistic Ruby API.")
(home-page "http://github.com/filewatcher/filewatcher")
(license license:expat)))
(define-public ruby-gtx
(package
(name "ruby-gtx")
(version "0.1.1")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "gtx" version))
(sha256
(base32 "1w0hbr9i6jpn9spbb13ipg2fajkwa51y56jw21ziwsddmv997274"))))
(build-system ruby-build-system)
(arguments
(list
;; no tests in Gem
#:tests? #f))
(native-inputs (list ruby-rspec))
(propagated-inputs (list ruby-erb))
(synopsis "Minimal template engine that transpiles to ERB")
(description "@code{GTX} creates templates are code-first, while also
that transpiling to ERB.")
(home-page "https://github.com/dannyben/gtx")
(license license:expat)))
(define-public ruby-highline
(package
(name "ruby-highline")
@@ -195,6 +339,165 @@ a menu system for providing multiple options to the user.")
(home-page "https://github.com/JEG2/highline")
(license (list license:gpl2 license:ruby))))
(define-public ruby-logger
(package
(name "ruby-logger")
(version "1.7.0")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "logger" version))
(sha256
(base32 "00q2zznygpbls8asz5knjvvj2brr3ghmqxgr83xnrdj4rk3xwvhr"))))
(build-system ruby-build-system)
(arguments
(list
;; no tests in Gem
#:tests? #f))
(native-inputs (list ruby-rspec))
(synopsis "Simple logging utility for Ruby")
(description
"This package provides a simple logging utility for outputting messages.")
(home-page "https://github.com/ruby/logger")
(license (list license:bsd-2))))
(define-public ruby-lp
(package
(name "ruby-lp")
(version "0.2.1")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "lp" version))
(sha256
(base32 "0ns1aza32n929w7smg1dsn4g6qlfi7k1jrvssyn35cicmwn0gyyr"))))
(build-system ruby-build-system)
(arguments
(list
;; no tests in Gem
#:tests? #f))
(native-inputs (list ruby-rspec))
(synopsis "Lovely print")
(description "Colorful YAML dump for debug purposes.")
(home-page "https://github.com/dannyben/lp")
(license license:expat)))
(define-public ruby-mister-bin
(package
(name "ruby-mister-bin")
(version "0.8.1")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "mister_bin" version))
(sha256
(base32 "1zz3vpy6xrgzln2dpxgcnrq1bpzz0syl60whqc9zf8j29mayw1fy"))))
(build-system ruby-build-system)
(arguments
(list
;; no tests in Gem
#:tests? #f))
(native-inputs (list ruby-rspec))
(propagated-inputs (list ruby-colsole ruby-docopt-ng))
(synopsis "Easily add a command line interface to Ruby Gems")
(description "Develop rich, scalable and testable command line interfaces
for Ruby Gems or other Ruby applications.")
(home-page "https://github.com/dannyben/mister_bin")
(license license:expat)))
(define-public ruby-module-methods
(package
(name "ruby-module-methods")
(version "0.1.0")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "module_methods" version))
(sha256
(base32 "1886wjscfripgzlmyvcd0jmlzwr6hxvklm2a5rm32dw5bf7bvjki"))))
(build-system ruby-build-system)
(arguments
(list
#:tests? #f)) ;no tests
(native-inputs (list ruby-rspec))
(synopsis "Extendable module for modules with instance and class methods")
(description
"Extendable module for modules with instance and class methods. These
modules can be included into each other modules and saving all chain, including
@code{inherited} or @code{included} (class) methods.")
(home-page "https://github.com/AlexWayfer/module_methods")
(license license:expat)))
(define-public ruby-ostruct
(package
(name "ruby-ostruct")
(version "0.6.3")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "ostruct" version))
(sha256
(base32 "04nrir9wdpc4izqwqbysxyly8y7hsfr4fsv69rw91lfi9d5fv8lm"))))
(arguments
(list
;; no tests
#:tests? #f))
(build-system ruby-build-system)
(synopsis "Class to build custom data structures, similar to a Hash")
(description
"An OpenStruct is a data structure, similar to a Hash, that
allows the definition of arbitrary attributes with their accompanying values.
This is accomplished by using Ruby's metaprogramming to define methods on the
class itself.")
(home-page "https://github.com/ruby/ostruct")
(license (list license:bsd-2))))
(define-public ruby-pastel
(package
(name "ruby-pastel")
(version "0.8.0")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "pastel" version))
(sha256
(base32 "0xash2gj08dfjvq4hy6l1z22s5v30fhizwgs10d6nviggpxsj7a8"))))
(build-system ruby-build-system)
(arguments
(list
;; no tests
#:tests? #f))
(propagated-inputs (list ruby-tty-color))
(synopsis "Ruby terminal output styling with an intuitive and clean API")
(description
"Ruby @code{::Pastel} is a simple, minimal and intuitive API
for styling strings that doesn't monkey patch the String class. Part of the
TTY Toolkit project which provides a range of terminal application capabilities.")
(home-page "https://ttytoolkit.org")
(license license:expat)))
(define-public ruby-requires
(package
(name "ruby-requires")
(version "1.1.0")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "requires" version))
(sha256
(base32 "0dlibxp6jfdl4favj2pgsm2pw84hhr2cdiizfs51ldkpddm50njp"))))
(build-system ruby-build-system)
(arguments
(list
;; no tests
#:tests? #f))
(native-inputs (list ruby-rspec))
(synopsis "Adds Ruby functions that allow requiring a directory")
(description "A tiny convenience function (@code{requires}) to require
or autoload all Ruby files in a directory.")
(home-page "https://github.com/DannyBen/requires/")
(license license:expat)))
(define-public ruby-rsync
(package
(name "ruby-rsync")
@@ -226,6 +529,161 @@ a menu system for providing multiple options to the user.")
hosts by wrapping the @file{rsync} binary.")
(license license:expat)))
(define-public ruby-strings
(package
(name "ruby-strings")
(version "0.2.1")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "strings" version))
(sha256
(base32 "1yynb0qhhhplmpzavfrrlwdnd1rh7rkwzcs4xf0mpy2wr6rr6clk"))))
(build-system ruby-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "rspec" "-c" "spec")))))))
(native-inputs (list ruby-rspec))
(propagated-inputs (list ruby-strings-ansi ruby-unicode-display-width
ruby-unicode-utils))
(synopsis "Ruby functions for transforming strings")
(description "This package provides a set of methods for working with
strings such as align, truncate, wrap and many more.")
(home-page "https://github.com/piotrmurach/strings")
(license license:expat)))
(define-public ruby-strings-ansi
(package
(name "ruby-strings-ansi")
(version "0.2.0")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "strings-ansi" version))
(sha256
(base32 "120wa6yjc63b84lprglc52f40hx3fx920n4dmv14rad41rv2s9lh"))))
(build-system ruby-build-system)
(arguments
(list
;; FIXME: tests seems to depend on ruby-strings
#:tests? #f))
(native-inputs (list bundler ruby-rspec))
(synopsis "Handle ANSI escape codes in strings")
(description
"@code{strings::ANSI} provides Ruby methods for processing ANSI escape
codes in strings.")
(home-page "https://github.com/piotrmurach/strings-ansi")
(license license:expat)))
(define-public ruby-tty-color
(package
(name "ruby-tty-color")
(version "0.6.0")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "tty-color" version))
(sha256
(base32 "0aik4kmhwwrmkysha7qibi2nyzb4c8kp42bd5vxnf8sf7b53g73g"))))
(build-system ruby-build-system)
(arguments
(list
;; no tests in Gem
#:tests? #f))
(native-inputs (list ruby-rspec))
(synopsis "Terminal color capabilities detection for Ruby")
(description
"@code{TTY:Color} provides an independent color support
detection component. It is part of the TTY Toolkit project which provides
a range of terminal application capabilities.")
(home-page "https://ttytoolkit.org")
(license license:expat)))
(define-public ruby-tty-markdown
(package
(name "ruby-tty-markdown")
(version "0.7.2")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "tty-markdown" version))
(sha256
(base32 "04f599zn5rfndq4d9l0acllfpc041bzdkkz2h6x0dl18f2wivn0y"))))
(build-system ruby-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "rspec" "-c" "spec")))))))
(native-inputs (list ruby-rspec))
(propagated-inputs (list ruby-kramdown
ruby-pastel
ruby-rouge
ruby-strings
ruby-tty-color
ruby-tty-screen))
(synopsis "Convert a markdown document into terminal friendly output")
(description
"@code{TTY:Markdown} is a markdown processing component for Ruby. It's
used to convert markdown text or documents into a terminal friendly output.
Part of the TTY Toolkit project.")
(home-page "https://ttytoolkit.org")
(license license:expat)))
(define-public ruby-tty-screen
(package
(name "ruby-tty-screen")
(version "0.8.2")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "tty-screen" version))
(sha256
(base32 "0l4vh6g333jxm9lakilkva2gn17j6gb052626r1pdbmy2lhnb460"))))
(build-system ruby-build-system)
(arguments
(list
;; no tests
#:tests? #f))
(native-inputs (list ruby-rspec))
(synopsis "Terminal screen properties detection for Ruby")
(description
"Cross-platform terminal screen size detection that supports Ruby MRI,
JRuby, TruffleRuby and Rubinius interpreters. @code{TTY:Screen} is part of
the @code{TTY} Toolkit projects.")
(home-page "https://ttytoolkit.org")
(license license:expat)))
(define-public ruby-unicode-utils
(package
(name "ruby-unicode-utils")
(version "1.4.0")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "unicode_utils" version))
(sha256
(base32 "0h1a5yvrxzlf0lxxa1ya31jcizslf774arnsd89vgdhk4g7x08mr"))))
(build-system ruby-build-system)
(arguments
(list
;; no tests in Gem
#:tests? #f))
(synopsis "Additional Unicode aware functions for Ruby 1.9")
(description
"@code{UnicodeUtils} implements Unicode algorithms for case
conversion, normalization, text segmentation and more in pure Ruby code.")
(home-page "https://github.com/lang/unicode_utils")
(license license:bsd-2)))
(define-public ruby-i18n
(package
(name "ruby-i18n")
@@ -1135,13 +1593,13 @@ under the hood.")
(("require 'bundler/setup'") "nil")
(("Bundler::GemHelper\\.install_tasks") "nil")))))))
(native-inputs
(list ruby-rack-test ruby-rspec-core ruby-sinatra))
(list ruby-pandoc-ruby ruby-rack-test ruby-rspec-core ruby-sinatra))
(propagated-inputs
(list ruby-temple ruby-tilt))
(synopsis "Minimalist template language for Ruby")
(description "Slim is a template language for Ruby that aims to reduce the
syntax to the minimum while remaining clear.")
(home-page "http://slim-lang.com/")
(home-page "https://slim-lang.com/")
(license license:expat)))
(define-public ruby-asciidoctor
@@ -3796,16 +4254,17 @@ It is a low-dependency variant of ruby-hydra.")
(define-public ruby-rubygems-tasks
(package
(name "ruby-rubygems-tasks")
(version "0.2.5")
(source (origin
(version "0.3.0")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "rubygems-tasks" version))
(sha256
(base32
"1x3sz3n2dlknd3v7w1mrq6f0ag6pwzhjvg7z29p75w3p42ma1gbx"))))
(base32 "06g10wg5nbca1lj9m9i5qyslp7cwdm00fhy3n1q0qxcbxpkwmpzx"))))
(build-system ruby-build-system)
;; Tests need Internet access.
(arguments `(#:tests? #f))
(arguments
`(#:tests? #f))
(synopsis "Rake tasks for managing and releasing Ruby Gems")
(description "Rubygems-task provides Rake tasks for managing and releasing
Ruby Gems.")
@@ -6299,27 +6758,29 @@ both CSS3 selector and XPath 1.0 support.")
(define-public ruby-method-source
(package
(name "ruby-method-source")
(version "1.0.0")
(version "1.1.0")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "method_source" version))
(sha256
(base32
"1pnyh44qycnf9mzi1j6fywd5fkskv3x7nmsqrrws0rjn5dd4ayfp"))))
(base32 "1igmc3sq9ay90f8xjvfnswd1dybj1s3fi0dwd53inwsvqk4h24qq"))))
(build-system ruby-build-system)
(arguments
`(#:test-target "spec"
(list
#:ruby ruby-3.3
#:test-target "spec"
#:phases
(modify-phases %standard-phases
#~(modify-phases %standard-phases
(add-after 'unpack 'remove-git-ls-files
(lambda* (#:key outputs #:allow-other-keys)
(substitute* "Rakefile"
(("git ls-files") "find . -type f")))))))
(native-inputs
(list ruby-rspec))
(("git ls-files")
"find . -type f")))))))
(native-inputs (list ruby-rspec))
(synopsis "Retrieve the source code for Ruby methods")
(description "Method_source retrieves the source code for Ruby methods.
(description
"Method_source retrieves the source code for Ruby methods.
Additionally, it can extract source code from Proc and Lambda objects or just
extract comments.")
(home-page "https://github.com/banister/method_source")
@@ -6969,7 +7430,7 @@ intended for use with event loops such as async.")
(define-public ruby-tilt
(package
(name "ruby-tilt")
(version "2.2.0")
(version "2.7.0")
(source
(origin
(method git-fetch) ;the distributed gem lacks tests
@@ -6978,7 +7439,7 @@ intended for use with event loops such as async.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "056zm4vzx9xjwl7zgmb17hzb91qx5cvzk60wvsxchfybvl03gn5d"))))
(base32 "1yzf4mgnypb2dxj1jw08qli01pnczyafgb7akjgl131i96zpdg03"))))
(build-system ruby-build-system)
(arguments
(list
@@ -6987,10 +7448,6 @@ intended for use with event loops such as async.")
(add-before 'check 'set-SASS_IMPLEMENTATION
(lambda _
(setenv "SASS_IMPLEMENTATION" "sassc"))))))
(propagated-inputs
(list ruby-pandoc-ruby ruby-sassc))
(native-inputs
(list bundler ruby-yard ruby-builder ruby-erubis ruby-markaby))
(synopsis "Generic interface to multiple Ruby template engines")
(description
"Tilt is a thin interface over a number of different Ruby template
@@ -7386,7 +7843,7 @@ the pain of Ruby's Struct (or its setters).")
(define-public ruby-faker
(package
(name "ruby-faker")
(version "3.2.0")
(version "3.6.1")
(source
(origin
(method git-fetch)
@@ -7395,8 +7852,7 @@ the pain of Ruby's Struct (or its setters).")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1wwdwh5qwaxnd9dl6732mj6b953l5r32r4936pj5680963iagq59"))))
(base32 "1jv39j3rv1bx4155rsq7cvl13kb173gl8ypvjd7v4ba5cnl5zrrl"))))
(build-system ruby-build-system)
(arguments
(list
@@ -7405,12 +7861,15 @@ the pain of Ruby's Struct (or its setters).")
(add-after 'unpack 'remove-rubocop-from-rakefile
(lambda _
(substitute* "Rakefile"
(("require 'rubocop/rake_task'") "")
(("RuboCop::RakeTask\\.new") "")))))))
(("require 'rubocop/rake_task'")
"")
(("RuboCop::RakeTask\\.new")
"")))))))
(native-inputs (list ruby-yard ruby-simplecov ruby-timecop))
(propagated-inputs (list ruby-i18n))
(synopsis "Library for generating fake data")
(description "Faker is a port of Data::Faker from Perl. It is used to
(description
"Faker is a port of Data::Faker from Perl. It is used to
easily generate fake data: names, addresses, phone numbers, etc.")
(home-page "https://github.com/faker-ruby/faker")
(license license:expat)))
@@ -7972,7 +8431,7 @@ alternative to Marshal for Object serialization.")
(define-public ruby-pg
(package
(name "ruby-pg")
(version "1.6.2")
(version "1.6.3")
(home-page "https://github.com/ged/ruby-pg")
(source
(origin
@@ -7982,7 +8441,7 @@ alternative to Marshal for Object serialization.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "14164l86xjla4sbaw8flnd2krc2n61l6gjvmmy31v07w5ys4xyjj"))))
(base32 "0nvswm5dv0n3mm8isnnvd8rzw7s47dd5kgma34fhnyhidc6v4pca"))))
(build-system ruby-build-system)
(arguments
(list
@@ -8201,19 +8660,25 @@ differences (added or removed nodes) between two XML/HTML documents.")
(define-public ruby-racc
(package
(name "ruby-racc")
(version "1.5.2")
(version "1.8.1")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "racc" version))
(method git-fetch) ;for tests
(uri (git-reference
(url "https://github.com/ruby/racc")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"178k7r0xn689spviqzhvazzvxfq6fyjldxb3ywjbgipbfi4s8j1g"))))
(base32 "1sg2mqp6yxdxrn9kbbsxkd6930fxvm4yjl8knsc0wq6fkipnhm8q"))))
(build-system ruby-build-system)
(arguments
`(#:tests? #f)) ; Fails while parsing test instructions.
(native-inputs
(list ruby-hoe ruby-rake-compiler))
(list
#:phases
#~(modify-phases %standard-phases
(add-before 'build 'compile
(lambda _
(invoke "rake" "compile"))))))
(native-inputs (list ruby-rake-compiler ruby-test-unit-ruby-core))
(synopsis "LALR(1) parser generator for Ruby")
(description
"Racc is a LALR(1) parser generator. It is written in Ruby itself, and
@@ -8222,8 +8687,7 @@ generates Ruby program.")
(license (list
;; Generally licensed under the LGPL2.1, and some files also
;; available under the same license as Ruby.
license:lgpl2.1
license:ruby))))
license:lgpl2.1 license:ruby))))
(define-public ruby-rack
(package
@@ -8445,14 +8909,14 @@ clickjacking, directory traversal, session hijacking and IP spoofing.")
(define-public ruby-rainbow
(package
(name "ruby-rainbow")
(version "3.0.0")
(version "3.1.1")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "rainbow" version))
(sha256
(base32
"0bb2fpjspydr6x0s8pn1pqkzmxszvkfapv0p4627mywl7ky4zkhk"))))
"0smwg4mii0fm38pyb5fddbmrdpifwv22zv3d3px2xx497am93503"))))
(build-system ruby-build-system)
(arguments
'(#:phases
@@ -8469,7 +8933,7 @@ clickjacking, directory traversal, session hijacking and IP spoofing.")
(description
"@code{rainbow} provides a string presenter object to colorize strings by
wrapping them in ANSI escape codes.")
(home-page "https://github.com/sickill/rainbow")
(home-page "https://github.com/ku1ik/rainbow")
(license license:expat)))
(define-public ruby-rr
@@ -8815,6 +9279,10 @@ run.")
(target-riscv64?)))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'loosen-dependencies
(lambda _
(substitute* "rubocop.gemspec"
(("'unicode\\-display\\_width'.*") "'unicode-display_width')\n"))))
(add-before 'check 'set-home
(lambda _
(setenv "HOME" (getcwd))))
@@ -10770,18 +11238,19 @@ requests. This is useful when testing software.")
(define-public ruby-unicode-display-width
(package
(name "ruby-unicode-display-width")
(version "2.4.2")
(version "3.2.0")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "unicode-display_width" version))
(sha256
(base32
"1gi82k102q7bkmfi7ggn9ciypn897ylln1jk9q67kjhr39fj043a"))))
"0hiwhnqpq271xqari6mg996fgjps42sffm9cpk6ljn8sd2srdp8c"))))
(build-system ruby-build-system)
(arguments
'(;; Test data not included.
#:tests? #f))
(propagated-inputs (list ruby-unicode-emoji))
(synopsis "Determine the monospace display width of Ruby strings")
(description
"@code{Unicode::DisplayWidth} is a Ruby library which can determine the
@@ -12033,14 +12502,14 @@ can be used to e.g. hyperlink Markdown documentation between project files.")
(define-public ruby-timecop
(package
(name "ruby-timecop")
(version "0.9.6")
(version "0.9.11")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "timecop" version))
(sha256
(base32
"0dlx4gx0zh836i7nzna03xdl7fc233s5z6plnr6k3kw46ah8d1fc"))))
"0hkmrkg46qvfla31734d5y28q422z5kfgb41yy2227q4wp34sa21"))))
(build-system ruby-build-system)
(arguments
(list
@@ -12068,21 +12537,23 @@ call.")
(define-public ruby-concurrent-ruby
(package
(name "ruby-concurrent-ruby")
(version "1.3.5")
(source (origin
(version "1.3.6")
(source
(origin
(method git-fetch)
(uri (git-reference ;for tests
(uri (git-reference
;for tests
(url "https://github.com/ruby-concurrency/concurrent-ruby")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0f0apna8k9cwnpa4lddwimywxzznrd4rjv4m0lka2i54z49iky73"))))
(base32 "08h7r9hh22v1r5pk67gq7b5cpl0vbqh63sh9svw9l2qas2fs8kng"))))
(build-system ruby-build-system)
(arguments
(list
#:tests? #f ;the test suite is run in ruby-concurrent-ruby-edge
#:phases #~(modify-phases %standard-phases
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'delete-unwanted-gemspecs
(lambda _
(for-each delete-file
@@ -12096,7 +12567,8 @@ call.")
(("'lib/concurrent-ruby/concurrent/concurrent_ruby.jar'")
"")))))))
(synopsis "Concurrency library for Ruby")
(description "Concurrent Ruby includes concurrency tools such as agents,
(description
"Concurrent Ruby includes concurrency tools such as agents,
futures, promises, thread pools, actors, supervisors, and more. It is
inspired by Erlang, Clojure, Go, JavaScript, actors, and classic concurrency
patterns.")
@@ -12783,20 +13255,18 @@ about the changes.")
(define-public ruby-diffy
(package
(name "ruby-diffy")
(version "3.2.1")
(version "3.4.4")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "diffy" version))
(sha256
(base32
"119imrkn01agwhx5raxhknsi331y5i4yda7r0ws0an6905ximzjg"))))
"1qs7drxvyzk3dg22xgblc12lq5kww9hhj7vpn8ay3l42rasllf3r"))))
(build-system ruby-build-system)
(arguments
;; No tests
`(#:tests? #f))
(arguments (list #:test-target "spec"))
(native-inputs
(list ruby-rspec))
(list ruby-rake ruby-rspec))
(home-page "https://github.com/samg/diffy")
(synopsis "Convenient diffing in ruby")
(description "Diffy provides a convenient way to generate a diff from two
@@ -14001,39 +14471,38 @@ Pathname.")
(define-public ruby-terminal-table
(package
(name "ruby-terminal-table")
(version "3.0.2")
(source (origin
(version "4.0.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/tj/terminal-table")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1c3f7ng3lxq962n8sbmlsvjx6srh5i801wzsyhxmfz2g880f5jps"))))
(base32 "17s0zvbix72d5ivv1mqi9hyzqrippn01spglj6zg3g18v4vkg0lk"))))
(arguments
'(#:phases
(modify-phases %standard-phases
'(#:phases (modify-phases %standard-phases
(add-before 'check 'remove-unnecessary-dependencies
(lambda _
(substitute* "terminal-table.gemspec"
(("s.add_runtime_dependency.*") "\n")
(("s.add_development_dependency.*") "\n"))
(("s.add_runtime_dependency.*")
"\n")
(("s.add_development_dependency.*")
"\n"))
(substitute* "Gemfile"
((".*tins.*") "\n"))))
((".*tins.*")
"\n"))))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "rspec")))))))
(build-system ruby-build-system)
(propagated-inputs
(list ruby-unicode-display-width))
(native-inputs
(list ruby-rspec ruby-term-ansicolor))
(propagated-inputs (list ruby-unicode-display-width))
(native-inputs (list ruby-rspec))
(home-page "https://github.com/tj/terminal-table")
(synopsis "Simple, feature rich ASCII table generation library")
(description
"Terminal Table is a fast and simple, yet feature rich
(description "Terminal Table is a fast and simple, yet feature rich
table generator written in Ruby. It supports ASCII and
Unicode formatted tables.")
(license license:expat)))
@@ -14062,6 +14531,11 @@ Unicode formatted tables.")
#:test-target "spec"
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'loosen-dependencies
(lambda _
(substitute* "jekyll.gemspec"
(("(.*terminal-table.*,.*),.*" _ m)
(string-append m ")\n")))))
(add-before 'check 'disable-problematic-tests
;; TODO: Package the missing test inputs.
(lambda _
@@ -14758,7 +15232,7 @@ minimal effort.")
(define-public ruby-timeout
(package
(name "ruby-timeout")
(version "0.4.3")
(version "0.6.1")
(source (origin
(method git-fetch) ;for tests
(uri (git-reference
@@ -14767,14 +15241,14 @@ minimal effort.")
(file-name (git-file-name name version))
(sha256
(base32
"1mw2dwyp2j05fl2gmw8cj132kk145sbxj5i0whpxcnddlc8gw781"))))
"1901x2cabiiiq9awz636aifsrxnx8k4wbgpaq0dz6486pf1jv2sl"))))
(build-system ruby-build-system)
(native-inputs (list ruby-test-unit-ruby-core))
(synopsis "Timeout library for Ruby")
(description "Timeout provides a way to auto-terminate a potentially
long-running operation if it hasn't finished in a fixed amount of time.")
(home-page "https://github.com/ruby/timeout")
(license (list license:bsd-2))))
(license (list license:bsd-2 license:ruby))))
(define-public ruby-thin
(package
@@ -16591,6 +17065,51 @@ instructions to unicode. If you are in a hurry, it also allows for easy
export/conversion to formats such as YAML, JSON, CSL, and XML (BibTeXML).")
(license license:gpl3+)))
(define-public ruby-unicode-emoji
(package
(name "ruby-unicode-emoji")
(version "4.2.0")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "unicode-emoji" version))
(sha256
(base32 "03zqn207zypycbz5m9mn7ym763wgpk7hcqbkpx02wrbm1wank7ji"))))
(build-system ruby-build-system)
(arguments
(list
#:test-target "spec"
#:phases
#~(modify-phases %standard-phases
;; The tests normally try to download the sources if they're not
;; present; however, guix also packages some of the unicode test
;; files that we can leverage instead
(add-after 'unpack 'use-guix-bundled-unicode-emoji
(lambda _
(let ((emoji (search-input-directory %build-inputs
"share/unicode/emoji")))
(substitute* "spec/emoji_test_txt_spec.rb"
(("\\_\\_dir\\_\\_\\, \"data/emoji\\-test\\.txt")
(string-append "\"" emoji "/emoji-test.txt"))))
;; Disable failing test (likely fails due to expecting
;; unicode-emoji v17.0 spec, but guix currently providing v12.0)
(substitute* "Rakefile"
(("sh \"ruby spec.*")
(string-append
"sh \"ruby spec/unicode_emoji_spec.rb -v --show-skips\""
"\n"
;; Disable tests
"sh \"ruby spec/emoji_test_txt_spec.rb -v --show-skips" " "
"-e '/REGEX_INCLUDE_MQE.*" ;; Regex continues
"(0153|1115|1129|1841|1855|1966|1980|2001|2015)/'\""))))))))
(native-inputs (list unicode-emoji))
(home-page "https://github.com/janlelis/unicode-emoji")
(synopsis "Provides Unicode Emoji data and regexes")
(description
"Provides Unicode Emoji data and regexes, incorporating the latest Unicode
and Emoji standards. Includes a categorized list of recommended Emoji.")
(license license:expat)))
(define-public ruby-unicode-scripts
(package
(name "ruby-unicode-scripts")
+1 -1
View File
@@ -346,7 +346,7 @@ a focus on simplicity and productivity.")
(home-page "https://www.ruby-lang.org")
(license license:ruby)))
(define-public ruby ruby-3.3)
(define-public ruby ruby-3.4)
(define-public mruby
(package