unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add liboauth.
@ 2017-01-30 23:42 Danny Milosavljevic
  2017-01-31 19:48 ` Leo Famulari
  0 siblings, 1 reply; 2+ messages in thread
From: Danny Milosavljevic @ 2017-01-30 23:42 UTC (permalink / raw)
  To: guix-devel

* 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))))

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-01-31 19:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-30 23:42 [PATCH] gnu: Add liboauth Danny Milosavljevic
2017-01-31 19:48 ` Leo Famulari

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).