--- Begin Message ---
Subject: |
[PATCH 1/3] gnu: Add liboauth. |
Date: |
Fri, 26 May 2017 23:23:02 -0400 |
* 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 © 2016 Bake Timmons <address@hidden>
;;; Copyright © 2017 Thomas Danckaert <address@hidden>
;;; Copyright © 2017 Marius Bakke <address@hidden>
+;;; Copyright © 2017 Kei Kebreau <address@hidden>
;;;
;;; 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,
monitoring pages for
changes, and much more.")
(license l:gpl2+)))
+(define-public liboauth
+ (package
+ (name "liboauth")
+ (version "1.0.3")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://sourceforge/liboauth/liboauth-"
+ 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://oauth.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 calculating the
+hash/signatures.")
+ ;; Source code may be distributed under either license.
+ (license (list l:expat l:gpl2+))))
+
(define-public libyaml
(package
(name "libyaml")
--
2.13.0
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#27092: [PATCH 1/3] gnu: Add liboauth. |
Date: |
Sat, 27 May 2017 20:35:11 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Leo Famulari <address@hidden> writes:
> On Fri, May 26, 2017 at 11:23:02PM -0400, Kei Kebreau wrote:
>> * gnu/packages/web.scm (liboauth): New variable.
>
>> + "liboauth is a collection of c functions implementing the
>> http://oauth.net
>
> s/c/C
>
> Otherwise LGTM!
Thanks! Pushed to staging as 1622637bb74d03cd3070ce14195252ead032d99d.
signature.asc
Description: PGP signature
--- End Message ---