aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Woodcroft <donttrustben@gmail.com>2018-02-05 11:42:30 +0100
committerChristopher Baines <mail@cbaines.net>2018-08-05 17:15:44 +0100
commit8cdee3575dd0e8e3f24ec8da0268f3a6bed95741 (patch)
tree333a4c85b573be3c290f2dbd7596d821cda0a414
parentee50b8de0a93dafa697bdabcdbfc309a99009748 (diff)
downloadguix-8cdee3575dd0e8e3f24ec8da0268f3a6bed95741.tar
guix-8cdee3575dd0e8e3f24ec8da0268f3a6bed95741.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 c606cacc7e..20bb15edf4 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -8044,3 +8044,30 @@ but it can function as a stand-alone templating engine.")
(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)))