unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] Add opendht.
@ 2016-05-31 14:17 Lukas Gradl
  2016-05-31 22:04 ` Leo Famulari
  0 siblings, 1 reply; 7+ messages in thread
From: Lukas Gradl @ 2016-05-31 14:17 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 114 bytes --]



Hello Guix,

Attached is a patch to add the opendht library, a dependency of the
Ring.

Thank you!
Best,
Lukas


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-telephony-Add-opendht.patch --]
[-- Type: text/x-patch, Size: 2722 bytes --]

From 392ea1f9194d299d73af5b21ee7f76e34653556a Mon Sep 17 00:00:00 2001
From: Lukas Gradl <lgradl@openmailbox.org>
Date: Tue, 31 May 2016 09:14:21 -0500
Subject: [PATCH] gnu: telephony: Add opendht.

* gnu/packages/telephony.scm (opendht): New variable.
---
 gnu/packages/telephony.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm
index 0f43e79..1fd9665 100644
--- a/gnu/packages/telephony.scm
+++ b/gnu/packages/telephony.scm
@@ -25,7 +25,10 @@
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages gnupg)
   #:use-module (gnu packages linux)
+  #:use-module (gnu packages nettle)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages readline)
+  #:use-module (gnu packages serialization)
   #:use-module (gnu packages tls)
   #:use-module (guix licenses)
   #:use-module (guix packages)
@@ -247,3 +250,44 @@ and a supporting cryptographic kernel.")
       (description "LibIAX implements the Inter-Asterisk-Protocol for relaying
 Voice-over-IP (VoIP) communications.")
       (license lgpl2.0))))
+
+(define-public opendht
+  (let ((commit "13f8c13ac4ebb3b43474d91ca48b42a1019083f4"))
+    ;; This is the commit used by the Ring Project.
+    (package
+      (name "opendht")
+      (version (string-append "0.0.0-1." (string-take commit 7)))
+      (source
+       (origin
+         (method url-fetch)
+         (uri
+          (string-append
+           "https://github.com/savoirfairelinux/opendht/archive/"
+           commit ".tar.gz"))
+         (file-name (string-append name "-" version ".tar.gz"))
+         (sha256
+          (base32
+           "12yn2cladxph8n87nkm7xwfn25kc8rjr2wabq84ik4lhpd82vdn4"))))
+      (build-system gnu-build-system)
+      (inputs
+       `(("gnutls" ,gnutls)
+         ("nettle" ,nettle)
+         ("msgpack" ,msgpack)
+         ("readline" ,readline)))
+      (native-inputs
+       `(("autoconf" ,autoconf)
+         ("pkg-config" ,pkg-config)
+         ("automake" ,automake)
+         ("libtool" ,libtool)))
+      (arguments
+       `(#:configure-flags '("--disable-tools" "--disable-python")
+         #:phases (modify-phases %standard-phases
+                    (add-before 'configure 'autoconf
+                      (lambda _
+                        (zero? (system* "autoreconf" "-vfi")))))))
+      (home-page "https://github.com/savoirfairelinux/opendht/")
+      (synopsis "Distributed Hash Table (DHT) library")
+      (description "OpenDHT is a Distributed Hash Table (DHT) library.  It may
+be used to manage peer-to-peer network connections as needed for real time
+communication.")
+      (license gpl3))))
-- 
2.7.4


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

end of thread, other threads:[~2016-06-25 16:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-31 14:17 [PATCH] Add opendht Lukas Gradl
2016-05-31 22:04 ` Leo Famulari
2016-06-03 15:27   ` Lukas Gradl
2016-06-03 19:53     ` Leo Famulari
2016-06-05 20:50       ` Lukas Gradl
2016-06-25 15:31         ` Leo Famulari
2016-06-25 16:41           ` Lukas Gradl

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