aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Woodcroft <donttrustben@gmail.com>2018-02-05 11:42:30 +0100
committerChristopher Baines <mail@cbaines.net>2018-03-18 22:16:59 +0000
commit78a414ac7cc774f04c6dd413a51f20aa39e0471d (patch)
tree833a3a81c85974cac61739db86fc06db35875ab2
parent003fe8849e7533f04aa64ce6859f73172403c3f6 (diff)
downloadguix-78a414ac7cc774f04c6dd413a51f20aa39e0471d.tar
guix-78a414ac7cc774f04c6dd413a51f20aa39e0471d.tar.gz
gnu: Add ruby-sinatra.
-rw-r--r--gnu/packages/ruby.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index ddff06d82c..aeebf51721 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -7679,3 +7679,30 @@ https://github.com/flavorjones/loofah-activerecord).")
"Helps creating valid Guard plugins and testing them")
(home-page "")
(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)))