summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/ruby-xyz.scm40
1 files changed, 40 insertions, 0 deletions
diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm
index 6086debc4d2..73f5895a5a7 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -14415,6 +14415,46 @@ external applications from within Ruby programs.")
14415 (home-page "https://github.com/copiousfreetime/launchy") 14415 (home-page "https://github.com/copiousfreetime/launchy")
14416 (license license:isc))) 14416 (license license:isc)))
14417 14417
14418(define-public ruby-strscan
14419 (package
14420 (name "ruby-strscan")
14421 (version "3.1.8")
14422 (source
14423 (origin
14424 (method git-fetch) ;for tests
14425 (uri (git-reference
14426 (url "https://github.com/ruby/strscan")
14427 (commit (string-append "v" version))))
14428 (file-name (git-file-name name version))
14429 (sha256
14430 (base32 "0xnxa8s619jrg2l2sc4f3b3vwg3659hqpmnzhl0mg0v2wmny8vwr"))))
14431 (build-system ruby-build-system)
14432 (arguments
14433 (list
14434 #:phases
14435 #~(modify-phases %standard-phases
14436 (add-before 'check 'remove-bundler-setup
14437 (lambda _
14438 (substitute* "Rakefile"
14439 (("-rbundler/setup")
14440 ""))))
14441 (add-before 'check 'set-gem-path
14442 (lambda _
14443 (setenv "GEM_PATH"
14444 (string-append (getenv "GEM_PATH") ":"
14445 #$output "/lib/ruby/vendor_ruby"))))
14446 (delete 'check)
14447 (add-after 'install 'check
14448 (assoc-ref %standard-phases
14449 'check)))))
14450 (native-inputs (list ruby-rake-compiler ruby-test-unit
14451 ruby-test-unit-ruby-core))
14452 (synopsis "Lexical scanning operations for Ruby")
14453 (description
14454 "This package provides lexical scanning operations on a String in Ruby.")
14455 (home-page "https://github.com/ruby/strscan")
14456 (license (list license:ruby license:bsd-2))))
14457
14418(define-public ruby-liquid 14458(define-public ruby-liquid
14419 (package 14459 (package
14420 (name "ruby-liquid") 14460 (name "ruby-liquid")