From cbdd428cf4aab436e3080423622c2c2d8fdb84cd Mon Sep 17 00:00:00 2001 From: Ben Woodcroft Date: Wed, 25 May 2016 22:08:36 +1000 Subject: [PATCH] gnu: Add ruby-sequel. * gnu/packages/ruby.scm (ruby-sequel): New variable. --- gnu/packages/ruby.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index afdcb33360..f46116e585 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -3877,3 +3877,25 @@ (define-public ruby-ttfunk ;; From the README: "Matz's terms for Ruby, GPLv2, or GPLv3. See LICENSE ;; for details." (license (list license:gpl2 license:gpl3 license:ruby)))) + +(define-public ruby-sequel + (package + (name "ruby-sequel") + (version "4.34.0") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "sequel" version)) + (sha256 + (base32 + "0qscddpfwcajggxvbm4a4jv8kkpn6q056bgdg03km34bz8bis1x1")))) + (build-system ruby-build-system) + (arguments + '(#:tests? #f)) ; Avoid dependency loop with ruby-minitest-hooks. + (synopsis "Database toolkit for Ruby") + (description "Sequel provides thread safety, connection pooling and a +concise DSL for constructing SQL queries and table schemas. It includes a +comprehensive ORM layer for mapping records to Ruby objects and handling +associated records.") + (home-page "http://sequel.jeremyevans.net") + (license license:expat)))