gnu: ruby-omniauth-oauth2: Update to 1.8.0.
* gnu/packages/ruby.scm (ruby-omniauth-oauth2): Update to 1.8.0. [arguments]: Rename remove-unnecessary-dependencies phase to relax-requirements, and simplify it. [native-inputs]: Remove bundler and ruby-simplecov.
This commit is contained in:
		
							parent
							
								
									9bb320b9c6
								
							
						
					
					
						commit
						c2753cc274
					
				
					 1 changed files with 14 additions and 18 deletions
				
			
		| 
						 | 
					@ -2714,32 +2714,28 @@ authentication.")
 | 
				
			||||||
(define-public ruby-omniauth-oauth2
 | 
					(define-public ruby-omniauth-oauth2
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "ruby-omniauth-oauth2")
 | 
					    (name "ruby-omniauth-oauth2")
 | 
				
			||||||
    (version "1.7.1")
 | 
					    (version "1.8.0")
 | 
				
			||||||
    (source
 | 
					    (source
 | 
				
			||||||
     (origin
 | 
					     (origin
 | 
				
			||||||
       (method url-fetch)
 | 
					       (method url-fetch)
 | 
				
			||||||
       (uri (rubygems-uri "omniauth-oauth2" version))
 | 
					       (uri (rubygems-uri "omniauth-oauth2" version))
 | 
				
			||||||
       (sha256
 | 
					       (sha256
 | 
				
			||||||
        (base32
 | 
					        (base32
 | 
				
			||||||
         "10fr2b58sp7l6nfdvxpbi67374hkrvsf507cvda89jjs0jacy319"))))
 | 
					         "0y4y122xm8zgrxn5nnzwg6w39dnjss8pcq2ppbpx9qn7kiayky5j"))))
 | 
				
			||||||
    (build-system ruby-build-system)
 | 
					    (build-system ruby-build-system)
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     '(#:phases
 | 
					     (list #:phases
 | 
				
			||||||
       (modify-phases %standard-phases
 | 
					           #~(modify-phases %standard-phases
 | 
				
			||||||
         (add-after 'unpack 'remove-unnecessary-dependencies
 | 
					               (add-after 'unpack 'relax-requirements
 | 
				
			||||||
                 (lambda _
 | 
					                 (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"
 | 
					                   (substitute* "spec/helper.rb"
 | 
				
			||||||
               (("require \"coveralls\"") "")
 | 
					                     ;; This condition is used to require coveralls and
 | 
				
			||||||
               (("Coveralls::SimpleCov::Formatter") ""))
 | 
					                     ;; simplecov; override it to avoid these extraneous
 | 
				
			||||||
             #t)))))
 | 
					                     ;; requirements.
 | 
				
			||||||
    (propagated-inputs
 | 
					                     (("RUBY_VERSION >= \"1.9\"")
 | 
				
			||||||
     (list ruby-oauth2 ruby-omniauth))
 | 
					                      "false")))))))
 | 
				
			||||||
    (native-inputs
 | 
					    (propagated-inputs (list ruby-oauth2 ruby-omniauth))
 | 
				
			||||||
     (list bundler ruby-rspec ruby-simplecov ruby-rack-test ruby-webmock))
 | 
					    (native-inputs (list ruby-rspec ruby-rack-test ruby-webmock))
 | 
				
			||||||
    (synopsis "Abstract OAuth2 strategy for OmniAuth")
 | 
					    (synopsis "Abstract OAuth2 strategy for OmniAuth")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
     "This library provides a generic OAuth2 strategy for OmniAuth.  It
 | 
					     "This library provides a generic OAuth2 strategy for OmniAuth.  It
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue