From 8cdee3575dd0e8e3f24ec8da0268f3a6bed95741 Mon Sep 17 00:00:00 2001 From: Ben Woodcroft Date: Mon, 5 Feb 2018 11:42:30 +0100 Subject: gnu: Add ruby-sinatra. --- gnu/packages/ruby.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index c606cacc7e..20bb15edf4 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -8044,3 +8044,30 @@ (define-public ruby-travis (home-page "https://github.com/travis-ci/travis.rb") (license license:expat))) + +(define-public ruby-sinatra + (package + (name "ruby-sinatra") + (version "2.0.0") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "sinatra" version)) + (sha256 + (base32 + "0dbpy8cm06psnk4q1d8map4z81xvlghyi91075xsm56ka2d6kpsi")))) + (build-system ruby-build-system) + (arguments + '(#:tests? #f)) + (propagated-inputs + `(("ruby-rack" ,ruby-rack) + ("ruby-rack-protection" ,ruby-rack-protection) + ("ruby-tilt" ,ruby-tilt))) + (native-inputs + `(("ruby-rack-test" ,ruby-rack-test))) + (synopsis + "Sinatra is a DSL for quickly creating web applications in Ruby with minimal effort.") + (description + "Sinatra is a DSL for quickly creating web applications in Ruby with minimal effort.") + (home-page "http://www.sinatrarb.com/") + (license license:expat))) -- cgit v1.2.3