From: Danny Milosavljevic <dannym@scratchpost.org>
To: guix-devel@gnu.org
Subject: [PATCH] gnu: Add liboauth.
Date: Tue, 31 Jan 2017 00:42:57 +0100 [thread overview]
Message-ID: <20170130234257.11164-1-dannym@scratchpost.org> (raw)
* 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))))
next reply other threads:[~2017-01-30 23:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-30 23:42 Danny Milosavljevic [this message]
2017-01-31 19:48 ` [PATCH] gnu: Add liboauth Leo Famulari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170130234257.11164-1-dannym@scratchpost.org \
--to=dannym@scratchpost.org \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).