@@ -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)))