about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gn/packages/ruby.scm25
1 files changed, 16 insertions, 9 deletions
diff --git a/gn/packages/ruby.scm b/gn/packages/ruby.scm
index 8922ebd..4b5d903 100644
--- a/gn/packages/ruby.scm
+++ b/gn/packages/ruby.scm
@@ -29,6 +29,7 @@
   #:use-module (gnu packages python)
   #:use-module (gnu packages ragel)
   #:use-module (gnu packages rails)
+  #:use-module (gnu packages rdf)
   #:use-module (gnu packages ruby)
   #:use-module (gnu packages ruby-check)
   #:use-module (gnu packages ruby-xyz)
@@ -6242,21 +6243,27 @@ with the \"readline-ext\" gem and implemented in pure Ruby.")
     (license license:unlicense)))
 
 (define-public ruby-rdf-raptor
+  (let ((commit "6392cea"))
   (package
     (name "ruby-rdf-raptor")
-    (version "3.2.0")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (rubygems-uri "rdf-raptor" version))
-       (sha256
-        (base32 "01gl7gagydj4bmj99nrj2jb0dpavv1xrjr14bkyvwz9bk6ikq0s3"))))
+    (version "3.3.0")
+    (source (origin
+             (method git-fetch)
+             (uri (git-reference
+                   (url "https://github.com/ruby-rdf/rdf-raptor")
+                   (commit commit)))
+             (file-name (string-append name "-" version "-checkout"))
+             (sha256
+              (base32
+            "1mqdddn8s3j0j7gqw0v34jw5cxg2mkka1x9fx46vy38v15m8bbn1"))))
     (build-system ruby-build-system)
-    (propagated-inputs (list ruby-ffi ruby-rdf))
+    (propagated-inputs (list ruby-ffi ruby-rdf raptor2))
+    (arguments
+     `(#:tests? #f))
     (synopsis
      "RDF.rb plugin for parsing/serializing NTriples, RDF/XML, Turtle and RDFa data using the Raptor RDF Parser library.")
     (description
      "RDF.rb plugin for parsing/serializing NTriples, RDF/XML, Turtle and RDFa data
 using the Raptor RDF Parser library.")
     (home-page "https://github.com/ruby-rdf/rdf-raptor")
-    (license license:expat)))
+    (license license:unlicense))))