diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-03-08 13:34:14 -0500 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-03-28 22:22:19 -0400 |
commit | ab46c2cc0ba200dba9c2556581e66542601eb4e1 (patch) | |
tree | 207fc13d7a08a5ec21a35cab2323d02efb0b8034 /gnu | |
parent | eb3257222cc5bb6857da7dd5802744143bf30892 (diff) | |
download | guix-ab46c2cc0ba200dba9c2556581e66542601eb4e1.tar.gz guix-ab46c2cc0ba200dba9c2556581e66542601eb4e1.zip |
gnu: Add ruby-xpath.
* gnu/packages/ruby.scm (ruby-xpath): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/ruby.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index f5867f8cd6..71afa1f76a 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -2753,6 +2753,30 @@ Ruby.") (home-page "https://github.com/maik/xml-simple") (license license:ruby))) +(define-public ruby-xpath + (package + (name "ruby-xpath") + (version "3.2.0") + (source (origin + (method url-fetch) + (uri (rubygems-uri "xpath" version)) + (sha256 + (base32 + "0bh8lk9hvlpn7vmi6h4hkcwjzvs2y0cmkk3yjjdr8fxvj6fsgzbd")))) + (build-system ruby-build-system) + (arguments (list #:phases #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "rspec" "spec" ))))))) + (native-inputs (list ruby-pry ruby-rspec)) + (propagated-inputs (list ruby-nokogiri)) + (synopsis "Ruby DSL for generating XPath expressions") + (description "XPath is a Ruby domain-specific language (DSL) for +generating XPath expressions.") + (home-page "https://github.com/teamcapybara/xpath") + (license license:expat))) + (define-public ruby-thor (package (name "ruby-thor") |