From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33990) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dESKk-0001PN-72 for guix-patches@gnu.org; Fri, 26 May 2017 23:24:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dESKg-0000FM-7r for guix-patches@gnu.org; Fri, 26 May 2017 23:24:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:37109) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dESKg-0000FI-47 for guix-patches@gnu.org; Fri, 26 May 2017 23:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dESKg-0002Qy-0h for guix-patches@gnu.org; Fri, 26 May 2017 23:24:02 -0400 Subject: bug#27092: [PATCH 1/3] gnu: Add liboauth. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33912) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dESKB-0001P2-JR for guix-patches@gnu.org; Fri, 26 May 2017 23:23:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dESK7-0008SH-Nd for guix-patches@gnu.org; Fri, 26 May 2017 23:23:31 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:58386 helo=mail.openmailbox.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dESK7-0008Oz-FD for guix-patches@gnu.org; Fri, 26 May 2017 23:23:27 -0400 From: Kei Kebreau Date: Fri, 26 May 2017 23:23:02 -0400 Message-Id: <20170527032304.22189-1-kei@openmailbox.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 27092@debbugs.gnu.org Cc: Kei Kebreau * gnu/packages/web.scm (liboauth): New variable. --- gnu/packages/web.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index bcc20bfdd..ea4ad9b31 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -19,6 +19,7 @@ ;;; Copyright =C2=A9 2016 Bake Timmons ;;; Copyright =C2=A9 2017 Thomas Danckaert ;;; Copyright =C2=A9 2017 Marius Bakke +;;; Copyright =C2=A9 2017 Kei Kebreau ;;; ;;; This file is part of GNU Guix. ;;; @@ -68,6 +69,7 @@ #:use-module (gnu packages gnome) #:use-module (gnu packages gnu-doc) #:use-module (gnu packages gnupg) + #:use-module (gnu packages gnuzilla) #:use-module (gnu packages gperf) #:use-module (gnu packages gtk) #:use-module (gnu packages icu4c) @@ -708,6 +710,34 @@ modifying pages and incoming and outgoing headers, m= onitoring pages for changes, and much more.") (license l:gpl2+))) =20 +(define-public liboauth + (package + (name "liboauth") + (version "1.0.3") + (source (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/liboauth/liboaut= h-" + version ".tar.gz")) + (sha256 + (base32 + "07w1aq8y8wld43wmbk2q8134p3bfkp2vma78mmsfgw2jn1bh3xhd"))= )) + (build-system gnu-build-system) + (arguments '(#:configure-flags '("--enable-nss"))) + (native-inputs `(("pkg-config" ,pkg-config))) + (propagated-inputs + `(("curl" ,curl) + ("nss" ,nss))) + (home-page "https://sourceforge.net/projects/liboauth") + (synopsis "C library implementing the http://oauth.net API") + (description + "liboauth is a collection of c functions implementing the http://oa= uth.net +API. liboauth provides functions to escape and encode stings according = to +OAuth specifications and offers high-level functionality built on top to= sign +requests or verify signatures using either NSS or OpenSSL for calculatin= g the +hash/signatures.") + ;; Source code may be distributed under either license. + (license (list l:expat l:gpl2+)))) + (define-public libyaml (package (name "libyaml") --=20 2.13.0