diff options
author | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2023-07-23 18:38:06 +0200 |
---|---|---|
committer | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2024-02-24 16:42:41 +0100 |
commit | a206fd3d2c4d9f0761e7a663ccb9534eff87cb93 (patch) | |
tree | 4ce30ef0065af09429964d1888932cfb599291ee /gnu | |
parent | 44598ec6e64e90970e8ce0be00846c32f45a2094 (diff) |
gnu: Add ruby-rgl.
* gnu/packages/ruby.scm (ruby-rgl): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/ruby.scm | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 1281a096c8..f4284a834b 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -67,6 +67,7 @@ #:use-module (gnu packages rails) #:use-module (gnu packages readline) #:use-module (gnu packages autotools) + #:use-module (gnu packages graphviz) #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages java) #:use-module (gnu packages libffi) @@ -3402,6 +3403,39 @@ identical to that of Hash.") (home-page "http://rbtree.rubyforge.org/") (license license:expat))) +(define-public ruby-rgl + (package + (name "ruby-rgl") + (version "0.6.6") + (source (origin + (method url-fetch) + (uri (rubygems-uri "rgl" version)) + (sha256 + (base32 + "0dji1k9knrf8cxm5psd3pgd9i8f7cfq182jwjpi1pwxw15axf496")))) + (build-system ruby-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'remove-unnecessary-dependencies + (lambda _ + (substitute* "Gemfile" + ;; Caring about coverage is a not a packager's task but a + ;; developer's + ;;(("gem \"simplecov\"") "") + ;; CodeClimate is an online service, and is unnecessary for + ;; running the tests + (("gem \"codeclimate-test-reporter\", .*") "\n"))))))) + (native-inputs (list ruby-test-unit ruby-simplecov ruby-yard graphviz-minimal)) + (propagated-inputs (list ruby-pairing-heap ruby-rexml ruby-stream)) + (synopsis "Framework for graph data structures and algorithms") + (description "RGL is a framework for graph data structures and algorithms. +The design of the library is much influenced by the Boost Graph Library (BGL) +which is written in C++.") + (home-page "https://github.com/monora/rgl") + (license license:bsd-2))) + (define-public ruby-hkdf (package (name "ruby-hkdf") |