gnu: Add ruby-rgl.

* gnu/packages/ruby.scm (ruby-rgl): New variable.
This commit is contained in:
Hartmut Goebel 2023-07-23 18:38:06 +02:00
parent 44598ec6e6
commit a206fd3d2c
No known key found for this signature in database
GPG Key ID: 634A8DFFD3F631DF
1 changed files with 34 additions and 0 deletions

View File

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