GNU bug report logs - #36482
[PATCH] gnu: ruby: Add ruby-backport package

Previous Next

Package: guix-patches;

Reported by: Mikhail Kirillov <w96k.ru <at> gmail.com>

Date: Tue, 2 Jul 2019 22:53:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Mikhail Kirillov <w96k.ru <at> gmail.com>
To: 36482 <at> debbugs.gnu.org
Cc: Mikhail Kirillov <w96k.ru <at> gmail.com>
Subject: [bug#36482] [PATCH] gnu: ruby: Add ruby-backport package
Date: Wed,  3 Jul 2019 20:10:27 +0300
* gnu/packages/ruby.scm (ruby): add ruby-backport package
---
 gnu/packages/ruby.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 49e0b9fe73..e25b527f5c 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -8725,3 +8725,33 @@ 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
+  (package
+    (name "ruby-backport")
+    (version "1.1.1")
+    (source
+     (origin
+       ;; The gem does not include test code, so fetch from the Git repository
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/castwide/backport.git")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (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





This bug report was last modified 5 years and 318 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.