diff options
author | Christopher Baines <mail@cbaines.net> | 2019-02-17 17:12:31 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2019-03-04 20:33:20 +0000 |
commit | 92b3750059f3e9a0b4998788af20399e990897dc (patch) | |
tree | 103993d8e008f1f7390c859edded7c17bfcba99e | |
parent | ca914b5bb1165b4b6624f2c41800ea2880a7f320 (diff) | |
download | guix-patches-92b3750059f3e9a0b4998788af20399e990897dc.tar guix-patches-92b3750059f3e9a0b4998788af20399e990897dc.tar.gz |
gnu: Add ruby-oauth2.
* gnu/packages/ruby.scm (ruby-oauth2): New variable.
-rw-r--r-- | gnu/packages/ruby.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 15efd72470..7adaca8144 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -1174,6 +1174,33 @@ complexity.") (home-page "https://github.com/ThoughtWorksStudios/saikuro_treemap") (license license:expat))) +(define-public ruby-oauth2 + (package + (name "ruby-oauth2") + (version "1.4.1") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "oauth2" version)) + (sha256 + (base32 + "0av6nlb5y2sm6m8fx669ywrqa9858yqaqfqzny75nqp3anag89qh")))) + (build-system ruby-build-system) + (arguments + '(#:tests? #f)) ; No included tests + (propagated-inputs + `(("ruby-faraday" ,ruby-faraday) + ("ruby-jwt" ,ruby-jwt) + ("ruby-multi-json" ,ruby-multi-json) + ("ruby-multi-xml" ,ruby-multi-xml) + ("ruby-rack" ,ruby-rack))) + (synopsis "Ruby wrapper for the OAuth 2.0") + (description + "This package provides a Ruby wrapper for the OAuth 2.0 protocol built +with a similar style to the original OAuth spec.") + (home-page "https://github.com/oauth-xx/oauth2") + (license license:expat))) + (define-public ruby-open4 (package (name "ruby-open4") |