From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id WLNdDxgpL2ScZgEASxT56A (envelope-from ) for ; Thu, 06 Apr 2023 22:18:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id WDK3DhgpL2QjPAAAG6o9tA (envelope-from ) for ; Thu, 06 Apr 2023 22:18:32 +0200 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 0848A6588 for ; Thu, 6 Apr 2023 22:18:31 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pkW3d-0006hQ-BG; Thu, 06 Apr 2023 16:18:09 -0400 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 1pkW3W-0006ga-Mu for guix-patches@gnu.org; Thu, 06 Apr 2023 16:18:03 -0400 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 1pkW3W-0005YR-E8 for guix-patches@gnu.org; Thu, 06 Apr 2023 16:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pkW3V-0003L5-Pm for guix-patches@gnu.org; Thu, 06 Apr 2023 16:18:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56202] [PATCH v3] gnu: Add nsync. References: <20220624183946.23595-1-antero@mailbox.org> In-Reply-To: <20220624183946.23595-1-antero@mailbox.org> Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 06 Apr 2023 20:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56202 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56202@debbugs.gnu.org Received: via spool by 56202-submit@debbugs.gnu.org id=B56202.168081223512737 (code B ref 56202); Thu, 06 Apr 2023 20:18:01 +0000 Received: (at 56202) by debbugs.gnu.org; 6 Apr 2023 20:17:15 +0000 Received: from localhost ([127.0.0.1]:55259 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pkW2k-0003JM-GM for submit@debbugs.gnu.org; Thu, 06 Apr 2023 16:17:14 -0400 Received: from mout-p-102.mailbox.org ([80.241.56.152]:34308) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pkW2i-0003J6-5r for 56202@debbugs.gnu.org; Thu, 06 Apr 2023 16:17:13 -0400 Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4Pst8018b2z9sjR for <56202@debbugs.gnu.org>; Thu, 6 Apr 2023 22:17:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1680812224; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=VfYz0o2LgDq6Gl+oVZIvDAInRojwLRixbT9PNDo4mMM=; b=eXlVCqz57PNDnOfu3f7ENJz6hlYkijILonPiDZS9aKzMqSWZb5bks3j9rWcTLvT90M0DWZ /6Yt+Q7ZeoZYUaAUFJ/+FMzUcr3Bi410uMi1M7wQf4qdxt1bBG92Wgt1pbwTXDNbxLvAq0 FRiQqQahZzVS31YFc3wGAg8yFYfhLrCnQRePj7LyaZLLMV10dNWZKHpuKVGX3lLZAPPTSR kSfAq7StWRQlEgITqCcsQDl7L7gd4vsJsy4D+0Wg/Z2Ik+bLe43DDU+43oCoMpvuvxucQs Uk9eW9LCYSTv463YJM4DsAA5JE1LENwKnOS18tlPOJFUlFOa5blQy5N7ED8UfQ== Date: Thu, 6 Apr 2023 20:16:49 +0000 Message-Id: <20230406201649.8364-1-antero@mailbox.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MBO-RS-META: qbdzyjqpt6dohyg5m4ditpx7otu5ubqg X-MBO-RS-ID: 5e3683965d1d0cf830c 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: Antero Mejr X-ACL-Warn: , Antero Mejr via Guix-patches From: Antero Mejr 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-Seal: i=1; s=key1; d=yhetil.org; t=1680812312; a=rsa-sha256; cv=none; b=kKk9rso+0pF8t1FJE/TBowrCjgLEcuvsLSsEhl/Ck3hvBcEAdM4xSwJlKEKQRsz1O1kjw1 ad6AfAcVofR56FcapDp18upOEH92oDZ6QU1k540wKjmLKCVLQbriPy+AOEf/7yWqpbKJcw HRfWLCuzcpTpnBg0fYX4YfRl1ZYHC3ZTLlaYdRwhuKDOzVy7Ux7864ttdb38iZGw3n4rLV zEAbRgZaAs8r66NiG6KLhMvupmcMaBk4kM/abHXVxDepCJBtOIK2ByA2YUTPpWknvvkoRj M8jBdaBSMkCGwTTV/reIAThe/dkrhAl/bhKv5OOYubfdS7CTSVCig0fYnwXncQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=eXlVCqz5; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1680812312; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=VfYz0o2LgDq6Gl+oVZIvDAInRojwLRixbT9PNDo4mMM=; b=RGvL0vIotssAQcUaEasB3rmREkcrT/R9Xge6QbwPYzdvPM/DWZQY2er+nydMXosajqZf/H eJxOh/kBGYdq9IBidgDYnxF2GqQ7KODukb/pItFChWiYbwri0mFz8BmOkRZv3W0vRTdbOO zwUfWO+sWQTshCYooFws+POdOvlan6yM2fdBN7/hAI0m0DZqXJcas04gOoaRx82gZhYHq1 WoQZT8+oSe3Kq3cqtH38HFl6x66oSs/PUYMb3IGflL4m0tvnwDAk/hdW0Q18d3og78uBrE v8bTMDtxmipMyNjzUJG/SgMgQOgYcUPTmR6LEXzyy/DWaVS5qtWbotre41yiYQ== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=eXlVCqz5; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -4.22 X-Spam-Score: -4.22 X-Migadu-Queue-Id: 0848A6588 X-TUID: fX28L5UppR8d * gnu/packages/c.scm (nsync): New variable. --- gnu/packages/c.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm index b2f16613dd..c7d3fb258c 100644 --- a/gnu/packages/c.scm +++ b/gnu/packages/c.scm @@ -1375,3 +1375,32 @@ (define-public utest-h (description "This package provides a header-only unit testing library for C/C++.") (license license:unlicense)))) + +(define-public nsync + (package + (name "nsync") + (version "1.25.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/google/nsync") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1nnavsm5m0yl65r9nyxzzg0y1z1dr0r9933b5329k7n1r6ndinbd")))) + (build-system cmake-build-system) + (arguments + (list #:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON"))) + (home-page "https://github.com/google/nsync") + (synopsis "C library for synchronization primitives") + (description + "nsync is a C library that exports various synchronization primitives: +@itemize +@item locks +@item condition variables +@item run-once initialization +@item waitable counter (useful for barriers) +@item waitable bit (useful for cancellation, or other conditions) +@end itemize") + (license license:asl2.0))) -- 2.38.1