GNU bug report logs -
#50537
[PATCH] Add several new ruby gems to Guix
Previous Next
Full log
Message #95 received at 50537 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/ruby.scm (ruby-niceogiri): New variable.
---
gnu/packages/ruby.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 50d6f86943..6547a2d35d 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12249,3 +12249,37 @@ floating-point numbers or complex numbers as arguments.")
(home-page
"https://github.com/brandonhilkert/sucker_punch")
(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")
+ ((".*guard-rspec.*") "\n"))
+ #t)))))
+ (propagated-inputs
+ `(("ruby-nokogiri" ,ruby-nokogiri)))
+ (native-inputs
+ `(("ruby-rspec" ,ruby-rspec)
+ ("ruby-yard" ,ruby-yard)))
+ (synopsis "Make dealing with XML less painful")
+ (description
+ "Make dealing with XML less painful")
+ (home-page
+ "https://github.com/benlangfeld/Niceogiri")
+ (license license:expat)))
--
2.30.2
This bug report was last modified 2 years and 321 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.