From 2c2917bd1fc1ec71f72db84ae48c5342b7455239 Mon Sep 17 00:00:00 2001 From: Muriithi Frederick Muriuki Date: Wed, 16 Nov 2016 18:19:58 +0300 Subject: [PATCH] gnu: ruby-net-http-digest-auth: Add new package * gnu/packages/ruby.scm (ruby-net-http-digest-auth): Added a new package definition --- gnu/packages/ruby.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 42beda3..ab10664 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -4179,3 +4179,27 @@ 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) + (inputs + `(("ruby-hoe" ,ruby-hoe))) + (synopsis + "Library for HTTP Digest Authentication based on RFC 2617") + (description + "This library implements HTTP's Digest Authentication scheme in ruby. +This enables you to use the Digest Authentication scheme, +over the more insecure Basic Authentication scheme") + (home-page + "http://github.com/drbrain/net-http-digest_auth") + (license license:expat))) -- 2.1.4