From b68471b413e100fdddfd54246ed2eab0c9dd77b7 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Wed, 1 Aug 2018 07:42:06 +0100 Subject: gnu: Add ruby-github-api. * gnu/packages/ruby.scm (ruby-github-api): New variable. --- gnu/packages/ruby.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 36bd22b058..0d6716386a 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -2105,6 +2105,33 @@ use GNU gettext tools for maintenance.") (home-page "https://ruby-gettext.github.com/") (license (list license:lgpl3+ license:ruby)))) +(define-public ruby-github-api + (package + (name "ruby-github-api") + (version "0.18.2") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "github_api" version)) + (sha256 + (base32 + "04x8mlvinl17wfw6r71c9jbh7g78ziiwvsqv20ylyjzybr7x0w6s")))) + (build-system ruby-build-system) + (propagated-inputs + `(("ruby-addressable" ,ruby-addressable) + ("ruby-descendants-tracker" + ,ruby-descendants-tracker) + ("ruby-faraday" ,ruby-faraday) + ("ruby-hashie" ,ruby-hashie) + ("ruby-oauth2" ,ruby-oauth2))) + (synopsis + " Ruby client that supports all of the GitHub API methods. It's build in a modular way, that is, you can either instantiate the whole api wrapper Github.new or use parts of it e.i. Github::Client::Repos.new if working solely with repositories is your main concern. Intuitive query methods allow you easily call API endpoints. ") + (description + " Ruby client that supports all of the GitHub API methods. It's build in a modular way, that is, you can either instantiate the whole api wrapper Github.new or use parts of it e.i. Github::Client::Repos.new if working solely with repositories is your main concern. Intuitive query methods allow you easily call API endpoints. ") + (home-page + "http://piotrmurach.github.io/github/") + (license license:expat))) + (define-public ruby-packnga (package (name "ruby-packnga") -- cgit v1.2.3