aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/ruby.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-02-17 17:13:14 +0000
committerChristopher Baines <mail@cbaines.net>2019-03-04 20:33:20 +0000
commite32c99d23ea2927bf9ce2a974f6e5b27f2d28f35 (patch)
tree89fe2ef0a541b46db8cf199526e9b30a86b94a05 /gnu/packages/ruby.scm
parent29dc48231d510837b5f41ad080a9b49090c4aa2b (diff)
downloadpatches-e32c99d23ea2927bf9ce2a974f6e5b27f2d28f35.tar
patches-e32c99d23ea2927bf9ce2a974f6e5b27f2d28f35.tar.gz
gnu: Add ruby-warden.
* gnu/packages/ruby.scm (ruby-warden): New variable.
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r--gnu/packages/ruby.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 946eef1fcc..06ec2e7129 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -5815,6 +5815,29 @@ support to both Ruby and JRuby. It uses @code{unf_ext} on CRuby and
(home-page "https://github.com/knu/ruby-unf")
(license license:bsd-2)))
+(define-public ruby-warden
+ (package
+ (name "ruby-warden")
+ (version "1.2.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "warden" version))
+ (sha256
+ (base32
+ "1fr9n9i9r82xb6i61fdw4xgc7zjv7fsdrr4k0njchy87iw9fl454"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(#:tests? #f)) ; No included tests
+ (propagated-inputs
+ `(("ruby-rack" ,ruby-rack)))
+ (synopsis "Rack middleware providing authentication")
+ (description
+ "Warden is a Rack-based middleware that provides a mechanism for
+authentication in Ruby web applications.")
+ (home-page "https://github.com/wardencommunity/warden")
+ (license license:expat)))
+
(define-public ruby-webmock-2
(package
(name "ruby-webmock")