summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMuriithi Frederick Muriuki <fredmanglis@gmail.com>2016-11-17 17:33:01 +1000
committerBen Woodcroft <donttrustben@gmail.com>2016-11-19 15:16:19 +1000
commit6689c636d039ce5bf160c1858b99f4329427fd15 (patch)
tree9ee7a58e143aa0a012f447b39e70f1fffb153fb5 /gnu/packages
parent4af80275a87fceeb2dcc7cf5198bb7f12d911d0f (diff)
downloadguix-6689c636d039ce5bf160c1858b99f4329427fd15.tar.gz
gnu: Add ruby-net-http-digest-auth.
* gnu/packages/ruby.scm (ruby-net-http-digest-auth): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/ruby.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index e4c1ef0db1..b6cb0a243d 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -4179,3 +4179,25 @@ patterns.")
 libraries for compiling Ruby native extensions.")
     (home-page "https://github.com/ruby-gnome2/pkg-config")
     (license license:lgpl2.0+)))
+
+(define-public ruby-net-http-digest-auth
+  (package
+    (name "ruby-net-http-digest-auth")
+    (version "1.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "net-http-digest_auth" version))
+       (sha256
+        (base32
+         "14801gr34g0rmqz9pv4rkfa3crfdbyfk6r48vpg5a5407v0sixqi"))))
+    (build-system ruby-build-system)
+    (native-inputs
+     `(("ruby-hoe" ,ruby-hoe)))
+    (synopsis "RFC 2617 HTTP digest authentication library")
+    (description
+     "This library implements HTTP's digest authentication scheme based on
+RFC 2617.  This enables the use of the digest authentication scheme instead
+of the more insecure basic authentication scheme.")
+    (home-page "http://github.com/drbrain/net-http-digest_auth")
+    (license license:expat)))