mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-08 12:20:41 -05:00
gnu: Add ruby-niceogiri.
* gnu/packages/ruby.scm (ruby-niceogiri): New variable. Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
This commit is contained in:
parent
48ff4bfcd7
commit
d633207a70
1 changed files with 31 additions and 0 deletions
|
@ -12921,3 +12921,34 @@ (define-public ruby-braintree
|
||||||
(description "Braintree provides resources and tools for developers to
|
(description "Braintree provides resources and tools for developers to
|
||||||
integrate Braintree's global payments platform.")
|
integrate Braintree's global payments platform.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public ruby-niceogiri
|
||||||
|
(package
|
||||||
|
(name "ruby-niceogiri")
|
||||||
|
(version "1.1.2")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (rubygems-uri "niceogiri" version))
|
||||||
|
(sha256
|
||||||
|
(base32 "1ha93211bc9cvh23s9w89zz7rq8irpf64ccd9arvg8v1sxg2798a"))))
|
||||||
|
(build-system ruby-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:test-target "spec"
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'extract-gemspec 'less-strict-dependencies
|
||||||
|
(lambda _
|
||||||
|
(substitute* "niceogiri.gemspec"
|
||||||
|
(("2\\.7") "3.8") ;rspec
|
||||||
|
((".*dependency.*bundler.*") "\n")
|
||||||
|
((".*dependency.*guard-rspec.*") "\n")))))))
|
||||||
|
(native-inputs
|
||||||
|
(list ruby-rspec
|
||||||
|
ruby-yard))
|
||||||
|
(propagated-inputs (list ruby-nokogiri))
|
||||||
|
(home-page "https://github.com/benlangfeld/Niceogiri")
|
||||||
|
(synopsis "Supplement for Nokogiri")
|
||||||
|
(description "Niceogiri provides wrappers and helpers for XML manipulation
|
||||||
|
using Nokogiri.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
Loading…
Reference in a new issue