From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: [PATCH] gnu: Add liboauth. Date: Tue, 31 Jan 2017 00:42:57 +0100 Message-ID: <20170130234257.11164-1-dannym@scratchpost.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cYLbE-0003uz-Dg for guix-devel@gnu.org; Mon, 30 Jan 2017 18:43:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cYLbC-0000wn-Io for guix-devel@gnu.org; Mon, 30 Jan 2017 18:43:04 -0500 Received: from dd1012.kasserver.com ([85.13.128.8]:51090) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cYLbC-0000wd-DF for guix-devel@gnu.org; Mon, 30 Jan 2017 18:43:02 -0500 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/gnuzilla.scm (liboauth): New variable. --- gnu/packages/gnuzilla.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm index 7758f27f8..3b7e81108 100644 --- a/gnu/packages/gnuzilla.scm +++ b/gnu/packages/gnuzilla.scm @@ -658,3 +658,31 @@ features built-in privacy-protecting features.") `((ftp-directory . "/gnu/gnuzilla") (cpe-name . "firefox_esr") (cpe-version . ,(first (string-split version #\-))))))) + +(define-public liboauth + (package + (name "liboauth") + (version "1.0.3") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/liboauth/" + name "-" version ".tar.gz")) + (sha256 + (base32 + "07w1aq8y8wld43wmbk2q8134p3bfkp2vma78mmsfgw2jn1bh3xhd")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags '("--enable-nss"))) + (inputs + `(("nss" ,nss))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (home-page "https://sourceforge.net/projects/liboauth/") + (synopsis "OAuth for C") + (description "@code{liboauth} contains a POSIX-C implementation of the +@url{http://oauth.net/,OAuth} protocol. @code{liboauth} provides +functionality to encode URLs and sign HTTP request data according to the +OAuth standard.") + ;; You can choose either license. + (license (list license:lgpl2.0+ license:expat))))