From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SFIUAfNcuWO6PAEAbAwnHQ (envelope-from ) for ; Sat, 07 Jan 2023 12:52:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 8D3+APNcuWOhZQEAauVa8A (envelope-from ) for ; Sat, 07 Jan 2023 12:52:19 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4A5AE368BC for ; Sat, 7 Jan 2023 12:52:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pE7k5-0006v8-Lh; Sat, 07 Jan 2023 06:52:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pE7k3-0006uf-7W for guix-patches@gnu.org; Sat, 07 Jan 2023 06:52:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pE7k2-0004xP-V1 for guix-patches@gnu.org; Sat, 07 Jan 2023 06:52:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pE7k2-0005Gv-Eq for guix-patches@gnu.org; Sat, 07 Jan 2023 06:52:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60622] [PATCH] gnu: Add nanomq. Resent-From: Nikolay Korotkiy Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 Jan 2023 11:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60622 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60622@debbugs.gnu.org Cc: Nikolay Korotkiy X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167309231420245 (code B ref -1); Sat, 07 Jan 2023 11:52:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Jan 2023 11:51:54 +0000 Received: from localhost ([127.0.0.1]:56584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pE7ju-0005GS-Dw for submit@debbugs.gnu.org; Sat, 07 Jan 2023 06:51:54 -0500 Received: from lists.gnu.org ([209.51.188.17]:37770) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pE7jt-0005GL-Dq for submit@debbugs.gnu.org; Sat, 07 Jan 2023 06:51:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pE7jt-0006tn-0e for guix-patches@gnu.org; Sat, 07 Jan 2023 06:51:53 -0500 Received: from knopi.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pE7jq-0004SZ-RA for guix-patches@gnu.org; Sat, 07 Jan 2023 06:51:52 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 713BE403A8; Sat, 7 Jan 2023 12:51:48 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gRC1UEKhQNgw; Sat, 7 Jan 2023 12:51:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1673092306; bh=r/ss0lJ1kjaHIwbQdv2rMwMGzRjrx4ZhJQwai/lnHOk=; h=From:To:Cc:Subject:Date; b=j9hYouQd/8OkmZrMeQyJev/UpAR3DiFpcCddUDiRnDd0XHStRFrwoL/kN2AsiBNmw P5Z8aVKNWGH48r75zXTrQg1WDI5ELLnyksSyhn4YmBvmmnv8Wwp+xiQi2ZaEUANv7R SPhcEzqsisn8SJerSbAopq8ewdPwKUFkYoq+8aZGuctwseHDfmkrCKFfPiVdmsivcW 8dvthFNctK/jCM+blY+RQLkB01vfLV4fPQ1EIPgHTMkSw3VK/4SNgYi3X9f4LsEY32 hdpazeuuw+iHoHKRjdzfGclZK+9IRXCrlYGf3wAmkJxaCqWk8N77Z2m/4ZMXOCmK3h aWcXIeD6KzwTQ== Date: Sat, 7 Jan 2023 15:51:38 +0400 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=sikmir@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Nikolay Korotkiy X-ACL-Warn: , Nikolay Korotkiy via Guix-patches From: Nikolay Korotkiy via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673092338; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=RxDiPgLN8XpEwc9mVxkd1uu6m/S1wg9e1LxhDdBI9Sc=; b=HcT6FIDvOJ5yME9X4zgFEo1ZSr68VxzpFdz4MyUs99HU9ZRcY+gJrAUgwnyRWN6LjpI3tD 9ATzkUxVO6EtcPDmqrcR+srZfwUyxrArafDw3FC0zK15/sogmdBaqlhF8I2ARGkp0/SXhe auTd6c5UBz1gNBGxg5Y3OKQxOd6gqVT5rqtN3bqVc4JLv3EdX0r7KclRbL/gVoT2BFxo9f J2YB9w5dbLpsp3FZ/RWnr7SRzwFw3+F/fJVswfJUfZXyuWt0lwjJzstczd5JM1c12BzTSF uNt/zZbPl6Abs7pVKT78U4hnymjnikK6/x3Nz/ejX5vnB2HhayMEQwX1nvjpfQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=j9hYouQd; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673092338; a=rsa-sha256; cv=none; b=Fey4yfuJLUtRvSIAEw+LmjBGlRkXOez1G9LDHza1WEyAsOURCNRdsJrvyrkW2fbP+6OU3T fT5HNKtAKLsIWCqrHiFjCcs8dxSX1y5hoNz3NuF7JCXbYCp46HVbd/yDpI2Bhc6W1UKj1d q9wgD+MUmPeM7e+yvWt6JW61kR+VmypbROJN4xsEG0cGIlXAOfE/fkW3WeM5zG36DYWW/F x35E/JIZ/e4nlHwqhygwHEiynHGR4uL7lVdEC04CSY3QIOMP+drtFxNuta4dl9S0jANbvP IiHMxAnc8Z+2fKAHmYbH/1r7jdN/FYHcCMnB295CGywFLYQijvFaPCCACVdXcQ== X-Spam-Score: -1.76 X-Migadu-Queue-Id: 4A5AE368BC Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=j9hYouQd; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -1.76 X-TUID: PD65n0IlZn4t * gnu/packages/networking.scm (nanomq): New variable. --- gnu/packages/networking.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index a7b51ed1ff..588f657c00 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -871,6 +871,41 @@ (define-public nanomsg (home-page "https://nanomsg.org/") (license (license:non-copyleft "file:///COPYING")))) +(define-public nanomq + (package + (name "nanomq") + (version "0.14.8") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/emqx/nanomq") + (commit version) + (recursive? #t))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1min3xrdiyzj8yal02hx3axh4hfr930qi3jwa9zx67jp9lgyqqmd")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f + #:configure-flags (list "-DNNG_ENABLE_TLS=ON" "-DNNG_ENABLE_SQLITE=ON") + #:phases (modify-phases %standard-phases + (add-after 'unpack 'fix-etc-destination + (lambda _ + (let* ((out (assoc-ref %outputs "out")) + (etc (string-append out "/etc"))) + (substitute* "CMakeLists.txt" + (("DESTINATION /etc") + (string-append "DESTINATION " etc)))) #t))))) + (inputs (list mbedtls-apache sqlite)) + (synopsis "An ultra-lightweight and blazing-fast MQTT broker for IoT edge") + (description + "NanoMQ bases on NNG's asynchronous I/O threading model, with an +extension of MQTT support in the protocol layer and reworked transport layer, +plus an enhanced asynchronous IO mechanism maximizing the overall capacity.") + (home-page "https://nanomq.io/") + (license license:expat))) + (define-public blueman (package (name "blueman") base-commit: d16edd03cfa84f6d5fed979fd7283966cd3e4934 -- 2.37.2