From: Holger Peters <holger.peters@posteo.de>
To: 44946@debbugs.gnu.org
Cc: Holger Peters <holger.peters@posteo.de>
Subject: [bug#44946] [PATCH] Add ruby-rugged
Date: Sun, 29 Nov 2020 14:49:29 +0100 [thread overview]
Message-ID: <20201129134929.579750-1-holger.peters@posteo.de> (raw)
In-Reply-To: <12cfbd264c7aebef08a53cde119a777e@posteo.de>
* gnu/packages/ruby.scm (ruby-rugged): New variable.
---
gnu/packages/ruby.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 8fc228f6ed..1ab8477b63 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -23,6 +23,7 @@
;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
+;;; Copyright © 2020 Holgr Peters <holger.peters@posteo.de>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -11714,3 +11715,31 @@ which snapshots to consider and what files to include.")
defined in @file{.travis.yml} on your local machine, using @code{rvm},
@code{rbenv}, or @code{chruby} to test different versions of Ruby.")
(license license:expat)))
+
+(define-public ruby-rugged
+ (package
+ (name "ruby-rugged")
+ (version "1.1.0")
+ (home-page "https://www.rubydoc.info/gems/rugged")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "rugged" version))
+ (sha256
+ (base32 "04aq913plcxjw71l5r62qgz3bx3466p0wvgyfqahg5n3nybmcwqy"))))
+ (build-system ruby-build-system)
+ (arguments
+ `(#:tests? #f
+ #:gem-flags (list "--" "--use-system-libraries")))
+ (inputs
+ `(("libgit2" ,libgit2)))
+ (native-inputs
+ `(("ruby-minitest" ,ruby-minitest)
+ ("ruby-pry" ,ruby-pry)
+ ("ruby-rake-compiler" ,ruby-rake-compiler)))
+ (synopsis "Ruby bindings to the libgit2 linkable C Git library. ")
+ (description "Rugged is a library for accessing libgit2 in Ruby. It gives
+you the speed and portability of libgit2 with the beauty of the Ruby
+language.")
+ (license license:expat)))
+
--
2.28.0
next prev parent reply other threads:[~2020-11-29 13:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-29 13:43 [bug#44946] Add ruby-rugged Holger Peters
2020-11-29 13:49 ` Holger Peters [this message]
2020-12-28 0:04 ` bug#44946: [PATCH] " Björn Höfling
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201129134929.579750-1-holger.peters@posteo.de \
--to=holger.peters@posteo.de \
--cc=44946@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).