all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add enet.
@ 2016-09-15 15:03 ng0
  2016-09-23 23:18 ` Leo Famulari
  0 siblings, 1 reply; 2+ messages in thread
From: ng0 @ 2016-09-15 15:03 UTC (permalink / raw)
  To: guix-devel


[-- Attachment #1.1: Type: text/plain, Size: 63 bytes --]

This adds one dependency for the graph of the game 0ad: enet.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-Add-enet.patch --]
[-- Type: text/x-patch, Size: 1903 bytes --]

From 950cbd3b274c583e8c639633527b8174d78836be Mon Sep 17 00:00:00 2001
From: ng0 <ng0@we.make.ritual.n0.is>
Date: Thu, 15 Sep 2016 15:01:14 +0000
Subject: [PATCH] gnu: Add enet.

* gnu/packages/networking.scm (enet): New variable.
---
 gnu/packages/networking.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index c4edbc3..46bda99 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -824,3 +824,31 @@ in dynamically linked programs and redirects them through one or more SOCKS or
 HTTP proxies.")
     (home-page "https://github.com/rofl0r/proxychains-ng")
     (license license:gpl2+)))
+
+(define-public enet
+  (package
+    (name "enet")
+    (version "1.3.13")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://enet.bespin.org/download/"
+                                  name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0p53mnmjbm56wizwraznynx13fcibcxiqny110dp6a5a3w174q73"))))
+    (build-system gnu-build-system)
+    (inputs
+     `(("pkg-config" ,pkg-config)))
+    (synopsis
+     "Relatively thin, simple and robust network communication layer
+on top of UDP")
+    (description
+     "ENet's purpose is to provide a relatively thin, simple and robust
+network communication layer on top of UDP.
+The primary feature it provides is optional reliable, in-order delivery
+of packets.  ENet omits certain higher level networking features such as
+authentication, lobbying, server discovery, encryption, or other similar
+tasks that are particularly application specific so that the library
+remains flexible, portable, and easily embeddable.")
+    (home-page "http://enet.bespin.org")
+    (license license:expat)))
-- 
2.10.0


[-- Attachment #1.3: Type: text/plain, Size: 26 bytes --]


-- 
              ng0

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 800 bytes --]

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

* Re: [PATCH] gnu: Add enet.
  2016-09-15 15:03 [PATCH] gnu: Add enet ng0
@ 2016-09-23 23:18 ` Leo Famulari
  0 siblings, 0 replies; 2+ messages in thread
From: Leo Famulari @ 2016-09-23 23:18 UTC (permalink / raw)
  To: ng0; +Cc: guix-devel

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

On Thu, Sep 15, 2016 at 03:03:18PM +0000, ng0 wrote:
> Subject: [PATCH] gnu: Add enet.
> 
> * gnu/packages/networking.scm (enet): New variable.

Thanks!

I made pkg-config a native-input, simplified the synopsis and made some
minor edits to the description. Pushed as
93666cf7837edfe85c7c0960252d6ad9b4962717

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

end of thread, other threads:[~2016-09-23 23:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-15 15:03 [PATCH] gnu: Add enet ng0
2016-09-23 23:18 ` Leo Famulari

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.