guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] gnu: Add liboauth.


From: Danny Milosavljevic
Subject: [PATCH] gnu: Add liboauth.
Date: Tue, 31 Jan 2017 00:42:57 +0100

* 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
address@hidden://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))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]