From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:45339) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hiReK-0008Ho-Mf for guix-patches@gnu.org; Tue, 02 Jul 2019 18:53:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hiReJ-00044J-Fe for guix-patches@gnu.org; Tue, 02 Jul 2019 18:53:20 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39319) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hiRe3-0003vQ-72 for guix-patches@gnu.org; Tue, 02 Jul 2019 18:53:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hiRe3-0007MZ-1G for guix-patches@gnu.org; Tue, 02 Jul 2019 18:53:03 -0400 Subject: [bug#36482] [PATCH] gnu: ruby: Add ruby-backport package Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:42529) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hiRbF-0006xg-4c for guix-patches@gnu.org; Tue, 02 Jul 2019 18:50:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hiRbC-0007z2-E5 for guix-patches@gnu.org; Tue, 02 Jul 2019 18:50:08 -0400 Received: from mail-lj1-x243.google.com ([2a00:1450:4864:20::243]:35081) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hiRb4-0007kd-Ne for guix-patches@gnu.org; Tue, 02 Jul 2019 18:50:00 -0400 Received: by mail-lj1-x243.google.com with SMTP id x25so288628ljh.2 for ; Tue, 02 Jul 2019 15:49:53 -0700 (PDT) From: Mikhail Kirillov Date: Wed, 3 Jul 2019 01:49:47 +0300 Message-Id: <20190702224947.17513-1-w96k.ru@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 36482@debbugs.gnu.org Cc: Mikhail Kirillov * gnu/packages/ruby.scm (ruby): add ruby-backport package --- gnu/packages/ruby.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 49e0b9fe73..c779bc4e7d 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -8725,3 +8725,35 @@ app to deliver to smtp://127.0.0.1:1025 instead of your default SMTP server, then check out http://127.0.0.1:1080 to see the mail.") (home-page "https://mailcatcher.me") (license license:expat))) + +(define-public ruby-backport + (let ((commit "5074f249cc12a95e388d2a16080fd3252013ffd4")) + (package + (name "ruby-backport") + (version "1.1.1") + (source + (origin + ;; The gem does not include test code, so fetch from the Git repository + ;; Repo doesn't have release tags either + (method git-fetch) + (uri (git-reference + (url "https://github.com/castwide/backport.git") + (commit commit))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "0ii3y1wx1n48nd2mhlv0v61b2m21h7dg30if9vc2idza7k4afyw8")))) + (build-system ruby-build-system) + (arguments + `(#:test-target "spec")) + (native-inputs + `(("bundler" ,bundler) + ("ruby-rspec" ,ruby-rspec))) + (inputs + `(("ruby-simplecov" ,ruby-simplecov))) + (synopsis + "A pure Ruby library for event-driven IO") + (description + "This package provides a pure Ruby library for event-driven IO") + (home-page "http://github.com/castwide/backport") + (license license:expat)))) -- 2.22.0