about summary refs log tree commit diff
diff options
context:
space:
mode:
authorpjotrp2025-09-01 13:06:31 +0200
committerpjotrp2025-09-01 13:07:04 +0200
commitfcbe2919a1e4b168e8ec9ac995a6512360d56ac8 (patch)
tree9ea16da509aff2a0ac05162f6efc9a4b44b2eeb6
parent9d677cfeda46d7a3e8057be2ca0ac37cffe4f143 (diff)
downloadguix-bioinformatics-fcbe2919a1e4b168e8ec9ac995a6512360d56ac8.tar.gz
ruby-rdf: New variable with dependencies
This is to add Ruby-RDF. Note that these are completely untested at this point.
-rw-r--r--gn/packages/ruby.scm242
1 files changed, 241 insertions, 1 deletions
diff --git a/gn/packages/ruby.scm b/gn/packages/ruby.scm
index 0736bc9..a528ba0 100644
--- a/gn/packages/ruby.scm
+++ b/gn/packages/ruby.scm
@@ -5999,4 +5999,244 @@ Simple gem that adds various color methods to String class, and can be used as f
    (synopsis "lmdb is a Ruby binding to OpenLDAP Lightning MDB.")
    (description "lmdb is a Ruby binding to OpenLDAP Lightning MDB.")
    (home-page "https://github.com/doriantaylor/rb-lmdb")
-   (license license:expat)))
+   (license license:expat))) ;; note that all these license statements need to be checked!
+
+
+(define-public ruby-unicode-types
+  (package
+    (name "ruby-unicode-types")
+    (version "1.10.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "unicode-types" version))
+       (sha256
+        (base32 "1mif6v3wlfpb69scikpv7i4zq9rhj19px23iym6j8m3wnnh7d2wi"))))
+    (build-system ruby-build-system)
+    (arguments
+     `(#:tests? #f))
+    (synopsis
+     "[Unicode 16.0.0] Determines the very basic type of codepoints (one of: Graphic, Format, Control, Private-use, Surrogate, Noncharacter, Reserved)")
+    (description
+     "[Unicode 16.0.0] Determines the very basic type of codepoints (one of: Graphic,
+Format, Control, Private-use, Surrogate, Noncharacter, Reserved).")
+    (home-page "https://github.com/janlelis/unicode-types")
+    (license license:expat)))
+
+(define-public ruby-sxp
+  (package
+    (name "ruby-sxp")
+    (version "2.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "sxp" version))
+       (sha256
+        (base32 "08a7ha191gdc1n1pwaqgsx133wy1p1g4fchkhr5gx0jannx1p5vr"))))
+    (build-system ruby-build-system)
+    (arguments
+     `(#:tests? #f))
+    (propagated-inputs (list ruby-matrix ruby-rdf))
+    (synopsis
+     "Universal S-expression parser with specific support for Common Lisp, Scheme, and RDF/SPARQL")
+    (description
+     "Universal S-expression parser with specific support for Common Lisp, Scheme, and
+RDF/SPARQL.")
+    (home-page "https://github.com/dryruby/sxp")
+    (license license:expat)))
+
+(define-public ruby-scanf
+  (package
+    (name "ruby-scanf")
+    (version "1.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "scanf" version))
+       (sha256
+        (base32 "000vxsci3zq8m1wl7mmppj7sarznrqlm6v2x2hdfmbxcwpvvfgak"))))
+    (build-system ruby-build-system)
+    (arguments
+     `(#:tests? #f))
+    (synopsis "scanf is an implementation of the C function scanf(3).")
+    (description "scanf is an implementation of the C function scanf(3).")
+    (home-page "https://github.com/ruby/scanf")
+    (license license:expat)))
+
+(define-public ruby-ebnf
+  (package
+    (name "ruby-ebnf")
+    (version "2.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "ebnf" version))
+       (sha256
+        (base32 "0gpnphpp7qcdjh9vrj8bfrb3k54lq7pk7p23w92wr1d8r8ba6ip7"))))
+    (build-system ruby-build-system)
+    (arguments
+     `(#:tests? #f))
+    (propagated-inputs (list ruby-base64
+                             ruby-htmlentities
+                             ruby-rdf
+                             ruby-scanf
+                             ruby-sxp
+                             ruby-unicode-types))
+    (synopsis
+     "EBNF is a Ruby parser for W3C EBNF and a parser generator for PEG and LL(1). Also includes parsing modes for ISO EBNF and ABNF.")
+    (description
+     "EBNF is a Ruby parser for W3C EBNF and a parser generator for PEG and LL(1).
+Also includes parsing modes for ISO EBNF and ABNF.")
+    (home-page "https://github.com/dryruby/ebnf")
+    (license license:expat)))
+
+(define-public ruby-bigdecimal
+  (package
+    (name "ruby-bigdecimal")
+    (version "3.2.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "bigdecimal" version))
+       (sha256
+        (base32 "1p2szbr4jdvmwaaj2kxlbv1rp0m6ycbgfyp0kjkkkswmniv5y21r"))))
+    (build-system ruby-build-system)
+    (arguments
+     `(#:tests? #f))
+    (synopsis
+     "This library provides arbitrary-precision decimal floating-point number class.")
+    (description
+     "This library provides arbitrary-precision decimal floating-point number class.")
+    (home-page "https://github.com/ruby/bigdecimal")
+    (license license:expat)))
+
+(define-public ruby-rdf-turtle
+  (package
+    (name "ruby-rdf-turtle")
+    (version "3.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "rdf-turtle" version))
+       (sha256
+        (base32 "0irnlxnrkdqsk5wkjj51rwyj59lcj4j8y24s9yxplbksjy4vxwxs"))))
+    (build-system ruby-build-system)
+    (arguments
+     `(#:tests? #f))
+    (propagated-inputs (list ruby-base64 ruby-bigdecimal ruby-ebnf ruby-rdf))
+    (synopsis
+     "RDF::Turtle is an Turtle reader/writer for the RDF.rb library suite.")
+    (description
+     "RDF::Turtle is an Turtle reader/writer for the RDF.rb library suite.")
+    (home-page "https://github.com/ruby-rdf/rdf-turtle")
+    (license license:expat)))
+
+(define-public ruby-readline
+  (package
+    (name "ruby-readline")
+    (version "0.0.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "readline" version))
+       (sha256
+        (base32 "0shxkj3kbwl43rpg490k826ibdcwpxiymhvjnsc85fg2ggqywf31"))))
+    (build-system ruby-build-system)
+    (arguments
+     `(#:tests? #f))
+    (propagated-inputs (list ruby-reline))
+    (synopsis
+     "This is just a loader for \"readline\". If Ruby has the \"readline-ext\" gem
+that is a native extension, this gem will load it. If Ruby does not have
+the \"readline-ext\" gem this gem will load \"reline\", a library that is
+compatible with the \"readline-ext\" gem and implemented in pure Ruby.
+")
+    (description
+     "This is just a loader for \"readline\".  If Ruby has the \"readline-ext\" gem that
+is a native extension, this gem will load it.  If Ruby does not have the
+\"readline-ext\" gem this gem will load \"reline\", a library that is compatible
+with the \"readline-ext\" gem and implemented in pure Ruby.")
+    (home-page "https://github.com/ruby/readline")
+    (license license:expat)))
+
+(define-public ruby-ostruct
+  (package
+    (name "ruby-ostruct")
+    (version "0.6.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "ostruct" version))
+       (sha256
+        (base32 "04nrir9wdpc4izqwqbysxyly8y7hsfr4fsv69rw91lfi9d5fv8lm"))))
+    (build-system ruby-build-system)
+    (arguments
+     `(#:tests? #f))
+    (synopsis "Class to build custom data structures, similar to a Hash.")
+    (description "Class to build custom data structures, similar to a Hash.")
+    (home-page "https://github.com/ruby/ostruct")
+    (license license:expat)))
+
+(define-public ruby-logger
+  (package
+    (name "ruby-logger")
+    (version "1.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "logger" version))
+       (sha256
+        (base32 "00q2zznygpbls8asz5knjvvj2brr3ghmqxgr83xnrdj4rk3xwvhr"))))
+    (build-system ruby-build-system)
+    (arguments
+     `(#:tests? #f))
+    (synopsis "Provides a simple logging utility for outputting messages.")
+    (description
+     "This package provides a simple logging utility for outputting messages.")
+    (home-page "https://github.com/ruby/logger")
+    (license license:expat)))
+
+(define-public ruby-bcp47-spec
+  (package
+    (name "ruby-bcp47-spec")
+    (version "0.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "bcp47_spec" version))
+       (sha256
+        (base32 "043qld01c163yc7fxlar3046dac2833rlcg44jbbs9n1jvgjxmiz"))))
+    (build-system ruby-build-system)
+    (arguments
+     `(#:tests? #f))
+    (synopsis "A subset of the BCP 47 spec.")
+    (description "This package provides a subset of the BCP 47 spec.")
+    (home-page "https://github.com/dadah89/bcp47_spec")
+    (license license:expat)))
+
+(define-public ruby-rdf
+  (package
+    (name "ruby-rdf")
+    (version "3.3.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "rdf" version))
+       (sha256
+        (base32 "1har1346p7jwrs89d5w1gv98jk2nh3cwkdyvkzm2nkjv3s1a0zx7"))))
+    (build-system ruby-build-system)
+    (propagated-inputs (list ruby-bcp47-spec
+                             ruby-bigdecimal
+                             ruby-link-header
+                             ruby-logger
+                             ruby-ostruct
+                             ruby-readline))
+    (arguments
+     `(#:tests? #f))
+    (synopsis
+     "RDF.rb is a pure-Ruby library for working with Resource Description Framework (RDF) data.")
+    (description
+     "RDF.rb is a pure-Ruby library for working with Resource Description Framework
+(RDF) data.")
+    (home-page "https://github.com/ruby-rdf/rdf")
+    (license license:expat)))