aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Woodcroft <donttrustben@gmail.com>2018-02-05 11:42:30 +0100
committerChristopher Baines <mail@cbaines.net>2018-12-31 10:01:11 +0000
commit3f8f1a275d2ce0582ce48a3a53d884e19dc796df (patch)
tree71c87db237c2032ea0b2d9bc47467e90b1dbeb7f
parent78a7d9a11daa109bab733c4d0e6456e112c21801 (diff)
downloadgnu-guix-3f8f1a275d2ce0582ce48a3a53d884e19dc796df.tar
gnu-guix-3f8f1a275d2ce0582ce48a3a53d884e19dc796df.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 e8c4bef97f..4eba5f1bac 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -8528,3 +8528,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)))