[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
14/23: gnu: Add ruby-omniauth-oauth2.
From: |
guix-commits |
Subject: |
14/23: gnu: Add ruby-omniauth-oauth2. |
Date: |
Mon, 4 Mar 2019 15:33:35 -0500 (EST) |
cbaines pushed a commit to branch master
in repository guix.
commit d6084cdb12f85b4e6bf3db8485a44cc9514cfab5
Author: Christopher Baines <address@hidden>
Date: Sun Feb 17 17:14:11 2019 +0000
gnu: Add ruby-omniauth-oauth2.
* gnu/packages/ruby.scm (ruby-omniauth-oauth2): New variable.
---
gnu/packages/ruby.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index a98b531..19d7cc9 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1225,6 +1225,48 @@ authentication.")
(home-page "https://github.com/omniauth/omniauth")
(license license:expat)))
+(define-public ruby-omniauth-oauth2
+ (package
+ (name "ruby-omniauth-oauth2")
+ (version "1.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "omniauth-oauth2" version))
+ (sha256
+ (base32
+ "11mi36l9d97r77q99jnafdc1yaa0a9wahhpp7dj7ank8q52g7g79"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'remove-unnecessary-dependencies
+ (lambda _
+ ;; The coveralls gem submits coverage information to an online
+ ;; service, and is unnecessary when running the tests
+ (substitute* "Gemfile"
+ ((".*coveralls\"") ""))
+ (substitute* "spec/helper.rb"
+ (("require \"coveralls\"") "")
+ (("Coveralls::SimpleCov::Formatter") ""))
+ #t)))))
+ (propagated-inputs
+ `(("ruby-oauth2" ,ruby-oauth2)
+ ("ruby-omniauth" ,ruby-omniauth)))
+ (native-inputs
+ `(("bundler" ,bundler)
+ ("ruby-rspec" ,ruby-rspec)
+ ("ruby-simplecov" ,ruby-simplecov)
+ ("ruby-rack-test" ,ruby-rack-test)
+ ("ruby-webmock" ,ruby-webmock-2)))
+ (synopsis "Abstract OAuth2 strategy for OmniAuth")
+ (description
+ "This library provides a generic OAuth2 strategy for OmniAuth. It
+doesn't provide a way to gather user information, so should be used as a
+building block for authentication strategies.")
+ (home-page "https://github.com/omniauth/omniauth-oauth2")
+ (license license:expat)))
+
(define-public ruby-open4
(package
(name "ruby-open4")
- 02/23: gnu: Add ruby-hamster., (continued)
- 02/23: gnu: Add ruby-hamster., guix-commits, 2019/03/04
- 03/23: gnu: Add ruby-lino., guix-commits, 2019/03/04
- 04/23: gnu: Add ruby-terraform., guix-commits, 2019/03/04
- 07/23: gnu: Add ruby-jwt., guix-commits, 2019/03/04
- 12/23: gnu: Add ruby-warden-oauth2., guix-commits, 2019/03/04
- 05/23: gnu: Add ruby-que., guix-commits, 2019/03/04
- 06/23: gnu: Add ruby-rbnacl., guix-commits, 2019/03/04
- 08/23: gnu: Add ruby-multi-xml., guix-commits, 2019/03/04
- 10/23: gnu: Add ruby-omniauth., guix-commits, 2019/03/04
- 11/23: gnu: Add ruby-warden., guix-commits, 2019/03/04
- 14/23: gnu: Add ruby-omniauth-oauth2.,
guix-commits <=
- 15/23: gnu: Add ruby-test-construct., guix-commits, 2019/03/04
- 09/23: gnu: Add ruby-oauth2., guix-commits, 2019/03/04
- 13/23: gnu: Add ruby-with-advisory-lock., guix-commits, 2019/03/04
- 16/23: gnu: Add ruby-minitest-around., guix-commits, 2019/03/04
- 22/23: gnu: Add ruby-haml., guix-commits, 2019/03/04
- 20/23: gnu: Add ruby-markaby., guix-commits, 2019/03/04
- 23/23: gnu: Add ruby-tilt., guix-commits, 2019/03/04
- 17/23: gnu: Add libsass., guix-commits, 2019/03/04
- 18/23: gnu: sassc: Update and improve the package., guix-commits, 2019/03/04
- 19/23: gnu: Add ruby-sassc., guix-commits, 2019/03/04