From b92da5830285a9daaba772390472b53a27eb3198 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sun, 30 Aug 2015 09:21:23 -0400 Subject: [PATCH 1/4] gnu: Add ruby-thread-safe. * gnu/packages/ruby.scm (ruby-thread-safe): New variable. --- gnu/packages/ruby.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 4759f46..d11f53f 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -801,3 +801,23 @@ Ruby. It features syntax highlighting, a plugin architecture, runtime invocation, and source and documentation browsing.") (home-page "http://pryrepl.org") (license license:expat))) + +(define-public ruby-thread-safe + (package + (name "ruby-thread-safe") + (version "0.3.5") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "thread_safe" version)) + (sha256 + (base32 + "1hq46wqsyylx5afkp6jmcihdpv4ynzzq9ygb6z2pb1cbz5js0gcr")))) + (build-system ruby-build-system) + (arguments + '(#:tests? #f)) ; needs simplecov, among others + (synopsis "Thread-safe utilities for Ruby") + (description "The thread_safe library provides thread-safe collections and +utilities for Ruby.") + (home-page "https://github.com/ruby-concurrency/thread_safe") + (license license:asl2.0))) -- 2.5.0