summary refs log tree commit diff
path: root/gnu/packages/ruby.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-01-06 13:43:18 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-01-08 00:41:06 -0500
commit8c002eefdf9b15736b5e4379c85ae135b225b1fa (patch)
treedef023891e6ba624186fff88d89c9603a7c57d80 /gnu/packages/ruby.scm
parentcc79e4b53910fb669b4031f04e25b2a85744411e (diff)
downloadguix-8c002eefdf9b15736b5e4379c85ae135b225b1fa.tar.gz
gnu: ruby-nokogumbo: Deprecate in favor of ruby-nokogiri.
* gnu/packages/ruby.scm (ruby-nokogumbo): Define as a deprecated alias to
ruby-nokogiri.
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r--gnu/packages/ruby.scm29
1 files changed, 2 insertions, 27 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 801fe03dad..67eec5db4e 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -6358,34 +6358,9 @@ multibyte strings, internationalization, time zones, and testing.")
      "Crass is a pure Ruby CSS parser based on the CSS Syntax Level 3 spec.")
     (license license:expat)))
 
+;;; The ruby-nokogumbo package has been absorbed into ruby-nokogiri.
 (define-public ruby-nokogumbo
-  (package
-    (name "ruby-nokogumbo")
-    (version "2.0.2")
-    (source (origin
-              ;; We use the git reference, because there's no Rakefile in the
-              ;; published gem and the tarball on Github is outdated.
-              (method git-fetch)
-              (uri (git-reference
-                    (url "https://github.com/rubys/nokogumbo")
-                    (commit (string-append "v" version))))
-              (file-name (string-append name "-" version "-checkout"))
-              (sha256
-               (base32
-                "1qg0iyw450lw6d0j1ghzg79a6l60nm1m4qmrzwzybi585861jxcx"))))
-    (build-system ruby-build-system)
-    (native-inputs
-     (list ruby-rake-compiler))
-    (inputs
-     (list gumbo-parser))
-    (propagated-inputs
-     (list ruby-nokogiri))
-    (synopsis "Ruby bindings to the Gumbo HTML5 parser")
-    (description
-     "Nokogumbo allows a Ruby program to invoke the Gumbo HTML5 parser and
-access the result as a Nokogiri parsed document.")
-    (home-page "https://github.com/rubys/nokogumbo/")
-    (license license:asl2.0)))
+  (deprecated-package "ruby-nokogumbo" ruby-nokogiri))
 
 (define-public ruby-sanitize
   (package