[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
51/100: gnu: Add nng.
From: |
guix-commits |
Subject: |
51/100: gnu: Add nng. |
Date: |
Wed, 8 Jul 2020 03:36:47 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 54e753bed9beac9c29bac9f78614b8a39ecc9d88
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Mon Jun 29 01:48:27 2020 -0400
gnu: Add nng.
* gnu/packages/networking.scm (nng): New variable.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/networking.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 3bbee79..8bc3ce7 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -122,6 +122,7 @@
#:use-module (gnu packages ruby)
#:use-module (gnu packages samba)
#:use-module (gnu packages serialization)
+ #:use-module (gnu packages shells)
#:use-module (gnu packages sqlite)
#:use-module (gnu packages ssh)
#:use-module (gnu packages textutils)
@@ -132,6 +133,49 @@
#:use-module (gnu packages xml)
#:use-module (ice-9 match))
+(define-public nng
+ (package
+ (name "nng")
+ (version "1.3.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/nanomsg/nng.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "042kmqzvdhv8fqmjr9kyi7rirm6akmpidfav6j14zhrab221n06j"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:configure-flags
+ (list
+ "-DNNG_ENABLE_COVERAGE=ON"
+ "-DNNG_ENABLE_TLS=ON")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'disable-failing-tests
+ (lambda _
+ ;; These tests require network access.
+ (substitute* "tests/CMakeLists.txt"
+ (("add_nng_test1\\(httpclient 60 NNG_SUPP_HTTP\\)") "")
+ (("add_nng_test1\\(resolv 10 NNG_STATIC_LIB\\)") "")
+ (("add_nng_test\\(tls 60\\)") ""))
+ #t)))))
+ (native-inputs
+ `(("ksh" ,oksh)))
+ (inputs
+ `(("mbedtls" ,mbedtls-apache)))
+ (synopsis "Lightweight messaging library")
+ (description "NNG project is a rewrite of the scalability protocols library
+known as libnanomsg, and adds significant new capabilities, while retaining
+compatibility with the original. It is a lightweight, broker-less library,
+offering a simple API to solve common recurring messaging problems, such as
+publish/subscribe, RPC-style request/reply, or service discovery.")
+ (home-page "https://nng.nanomsg.org/")
+ (license license:expat)))
+
(define-public nanomsg
(package
(name "nanomsg")
- 25/100: gnu: enchant: Update package definition., (continued)
- 25/100: gnu: enchant: Update package definition., guix-commits, 2020/07/08
- 33/100: gnu: Add sysprof., guix-commits, 2020/07/08
- 34/100: gnu: gjs: Update to 1.58.8., guix-commits, 2020/07/08
- 41/100: gnu: glib: Update package definition., guix-commits, 2020/07/08
- 43/100: gnu: glib-networking: Update to 2.64.3., guix-commits, 2020/07/08
- 37/100: gnu: graphene: Update package definition., guix-commits, 2020/07/08
- 38/100: gnu: gsettings-desktop-schemas: Update package definition., guix-commits, 2020/07/08
- 46/100: gnu: Add libvisual., guix-commits, 2020/07/08
- 40/100: gnu: faad2: Update to 2.8.8., guix-commits, 2020/07/08
- 45/100: gnu: gstreamer: Update package definition., guix-commits, 2020/07/08
- 51/100: gnu: Add nng.,
guix-commits <=
- 52/100: gnu: Add ccextractor., guix-commits, 2020/07/08
- 50/100: gnu: Add nanomsg., guix-commits, 2020/07/08
- 42/100: gnu: glib-with-documentation: Update package definition., guix-commits, 2020/07/08
- 47/100: gnu: Add libvisual-plugins., guix-commits, 2020/07/08
- 54/100: gnu: Add ruby-slim., guix-commits, 2020/07/08
- 64/100: gnu: Add libde265., guix-commits, 2020/07/08
- 59/100: gnu: Add directfb., guix-commits, 2020/07/08
- 62/100: gnu: Add ffmpeg-2.8., guix-commits, 2020/07/08
- 69/100: gnu: Add libofa., guix-commits, 2020/07/08
- 70/100: gnu: Add libopenmpt., guix-commits, 2020/07/08