guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/03: gnu: nng: Update to 1.5.2.


From: guix-commits
Subject: 02/03: gnu: nng: Update to 1.5.2.
Date: Mon, 25 Sep 2023 09:52:54 -0400 (EDT)

glv pushed a commit to branch master
in repository guix.

commit 3ac33b9c67919c45942b09cf67e67e8d5be48da3
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Mon Sep 25 13:52:49 2023 +0200

    gnu: nng: Update to 1.5.2.
    
    * gnu/packages/networking.scm (nng): Update to 1.5.2.
      [inputs, native-inputs]: Remove labels.
      [arguments]: Update 'disable-failing-tests' phase.
---
 gnu/packages/networking.scm | 21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index c1cab1fe0d..7983a93df4 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -798,7 +798,7 @@ at the link-layer level.")
 (define-public nng
   (package
     (name "nng")
-    (version "1.3.2")
+    (version "1.5.2")
     (source
      (origin
        (method git-fetch)
@@ -807,7 +807,7 @@ at the link-layer level.")
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0a4jg8alh2h0rw6fb4dqpvk4hgl2a7h76mq7g34fy89qh9sgg1a4"))))
+        (base32 "1sap0iny3z9lhmaiassv8jc399md1307y32xxx3mrr74jcpcrf59"))))
     (build-system cmake-build-system)
     (arguments
      `(#:configure-flags
@@ -821,13 +821,18 @@ at the link-layer level.")
              ;; 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)))
+             (substitute* "src/platform/CMakeLists.txt"
+               (("nng_test\\(platform_test\\)") "")
+               (("nng_test\\(resolver_test\\)") ""))
+             (substitute* "src/sp/transport/tcp/CMakeLists.txt"
+               (("nng_test\\(tcp_test\\)") ""))
+             (substitute* "src/sp/transport/ws/CMakeLists.txt"
+               (("nng_test_if\\(WS_ON ws_test\\)") ""))
+             (substitute* "src/supplemental/websocket/CMakeLists.txt"
+               (("nng_test\\(wssfile_test\\)") "")))))))
+    (native-inputs (list oksh))
+    (inputs (list 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]