mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add ruby-xpath.
* gnu/packages/ruby.scm (ruby-xpath): New variable.
This commit is contained in:
parent
eb3257222c
commit
ab46c2cc0b
1 changed files with 24 additions and 0 deletions
|
@ -2753,6 +2753,30 @@ Ruby.")
|
||||||
(home-page "https://github.com/maik/xml-simple")
|
(home-page "https://github.com/maik/xml-simple")
|
||||||
(license license:ruby)))
|
(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
|
(define-public ruby-thor
|
||||||
(package
|
(package
|
||||||
(name "ruby-thor")
|
(name "ruby-thor")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue