gnu: Add ruby-globalid.

Required for ruby-activejob.

* gnu/packages/ruby.scm (ruby-globalid): New variable.
This commit is contained in:
Christopher Baines 2019-01-28 16:23:09 +00:00
parent 937c8862f4
commit f9da1ada23
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577
1 changed files with 24 additions and 0 deletions

View File

@ -7533,3 +7533,27 @@ interface over different adapters.")
for scalable network clients and servers.") for scalable network clients and servers.")
(home-page "https://github.com/socketry/nio4r") (home-page "https://github.com/socketry/nio4r")
(license license:expat))) (license license:expat)))
(define-public ruby-globalid
(package
(name "ruby-globalid")
(version "0.4.2")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "globalid" version))
(sha256
(base32
"1zkxndvck72bfw235bd9nl2ii0lvs5z88q14706cmn702ww2mxv1"))))
(build-system ruby-build-system)
(arguments
'(;; No included tests
#:tests? #f))
(propagated-inputs
`(("ruby-activesupport" ,ruby-activesupport)))
(synopsis "Generate URIs idenfitying model instances in Ruby")
(description
"@code{GlobalID} provides a way to generate URIs from a model in Ruby that
uniquely identify it.")
(home-page "https://rubyonrails.org/")
(license license:expat)))