From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: [PATCH 5/8] gnu: Add ruby-daemons. Date: Fri, 12 Jun 2015 21:18:18 -0400 Message-ID: <87oakkjtid.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41802) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3a5U-0002Es-Ts for guix-devel@gnu.org; Fri, 12 Jun 2015 21:18:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3a5T-0006jB-GX for guix-devel@gnu.org; Fri, 12 Jun 2015 21:18:20 -0400 Received: from mail.fsf.org ([208.118.235.13]:48184) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3a5T-0006j7-Dn for guix-devel@gnu.org; Fri, 12 Jun 2015 21:18:19 -0400 Received: from 209-6-40-86.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.40.86]:40355 helo=izanagi) by mail.fsf.org with esmtpsa (TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1Z3a5T-0008AX-5x for guix-devel@gnu.org; Fri, 12 Jun 2015 21:18:19 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0005-gnu-Add-ruby-daemons.patch >From 309ee62ee91493558298ef04840348c3d67a2dd9 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 5 Jun 2015 19:29:26 -0400 Subject: [PATCH 5/8] gnu: Add ruby-daemons. * gnu/packages/ruby.scm (ruby-daemons): 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 31a377b..44ca0dc 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -465,3 +465,25 @@ interface for Ruby programs.") using Net::HTTP, supporting reconnection and retry according to RFC 2616.") (home-page "https://github.com/drbrain/net-http-persistent") (license license:expat))) + +(define-public ruby-daemons + (package + (name "ruby-daemons") + (version "1.2.2") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/thuehlinger/daemons/archive/v" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1v5bpdvpvhk240pc7fkn44vfclppl44pp6wd42ipi5sd5lkk7zfd")))) + (build-system ruby-build-system) + (arguments + `(#:tests? #f)) ; no test suite + (synopsis "Daemonize Ruby programs") + (description "Daemons provides a way to wrap existing Ruby scripts to be +run as a daemon and to be controlled by simple start/stop/restart commands.") + (home-page "https://github.com/thuehlinger/daemons") + (license license:expat))) -- 2.2.1 --=-=-= Content-Type: text/plain -- David Thompson GPG Key: 0FF1D807 --=-=-=--