From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kHkqMAJw52PnYQAAbAwnHQ (envelope-from ) for ; Sat, 11 Feb 2023 11:37:54 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oP8vMAJw52O50wAA9RJhRA (envelope-from ) for ; Sat, 11 Feb 2023 11:37:54 +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 87E7C9905 for ; Sat, 11 Feb 2023 11:37:54 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pQnFi-0004cf-Gn; Sat, 11 Feb 2023 05:37:06 -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 1pQnFg-0004bV-KB for guix-patches@gnu.org; Sat, 11 Feb 2023 05:37:04 -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 1pQnFg-0005wH-B1 for guix-patches@gnu.org; Sat, 11 Feb 2023 05:37:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pQnFg-00051x-7L for guix-patches@gnu.org; Sat, 11 Feb 2023 05:37:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61426] [PATCH 3/6] gnu: Add zix. Resent-From: Maya Tomasek Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 11 Feb 2023 10:37:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61426 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61426@debbugs.gnu.org Cc: Antero Mejr X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167611177219173 (code B ref -1); Sat, 11 Feb 2023 10:37:04 +0000 Received: (at submit) by debbugs.gnu.org; 11 Feb 2023 10:36:12 +0000 Received: from localhost ([127.0.0.1]:38984 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQnEq-0004z6-Ap for submit@debbugs.gnu.org; Sat, 11 Feb 2023 05:36:12 -0500 Received: from lists.gnu.org ([209.51.188.17]:37778) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQnEm-0004yg-HT for submit@debbugs.gnu.org; Sat, 11 Feb 2023 05:36:08 -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 1pQnEm-0004Oo-Br for guix-patches@gnu.org; Sat, 11 Feb 2023 05:36:08 -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 1pQnEk-0005nS-Hr for guix-patches@gnu.org; Sat, 11 Feb 2023 05:36:07 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 623F6414C8; Sat, 11 Feb 2023 11:36:04 +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 tovM1aY3o8cn; Sat, 11 Feb 2023 11:36:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1676111763; bh=gJz8Hy2MGZClR7j/+MiH4aUxyCT9jhDzLoDGEpIZje8=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Rp4G0uPp78H6ZOEC8LZsv48HmLt7mHE7FoQzuvuGiTafIv2/8hn3+Li3SvVBpYoLX zS+0VgrF4bnHhIBr9jtZ+YtsMxIu/BFDu9nZ1ecAcVz7XV6QZnP/ojHeZwWDwETo+1 roPt95xX/+S6MjSPb/1XZ2J/gK45vEsZQZWr8//VDDX3yH2SM9DaNbJsi3LkkQ5Ml9 mGaZ/k+6YeiFDawnxblTNXWgl9QraBv2k4XY+FqTIktar/CqfTHeTayO2GDrKehAH+ rFotC9a3UGhc+OXRpLGS6dfgdkpBLmYQkNXwG8Ef4H9bcYbG6z6qxwR2javMaKpjzv EKn23szZ6W/LA== Date: Sat, 11 Feb 2023 11:35:34 +0100 Message-Id: <20230211103537.24139-4-maya.tomasek@disroot.org> In-Reply-To: <20230211103537.24139-1-maya.tomasek@disroot.org> References: <20230211103537.24139-1-maya.tomasek@disroot.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=maya.tomasek@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: Maya Tomasek X-ACL-Warn: , Maya Tomasek via Guix-patches From: Maya Tomasek 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=1676111874; a=rsa-sha256; cv=none; b=T9hs7Pcz0NRb9xxRzBlBzXpJXvBECK4DIGVslAut4a1qZoL1/uZga+FgnioyzFwZerytrJ cXWf5CmhzjsdVU4/v03Id6KRAv3NhAiyF6+JKFrIUHdCQyWZENp0mxovx5vdImm/7QVFcP 7JiViDAvdSj0VUgrK1eURcRRAK+3+4nlmRz7Gou/ix0LUA/2XiHrBJpDlkCLQmrhcqSRAV /MMOKyp1OoTenryMOXBacvItMpvehOSXuktCjtEbuspYySn0YM2NOLuoCfmtS7DT59iWAp 5D0FaUWuNBsc6yo01/dCREnNoWvtdF5KGej79iyjoDoN6rEzLk9euyLu2AGMWQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=Rp4G0uPp; 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=1676111874; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=+Ca3o+pfpLRI5heGd14WvyUcAQdBT8t4ppOknw8llPo=; b=i5slmDOXo6R4F8XhOQMLjvcOG+/cyCye2gLyzPAVc7Y19iKXShuvDBI4mMsGaj2EwB9u+q 1oC1dbxDBQSu/S8vBgQVxYd6EcWdabdk/Y+u3LZZ3GGL5OeySinKGJIcAHibVFy2Qy6TZ0 LKE3bAKB20NO7bOQJ/gobmXN7D5RRTFUy+WwRGcg74S0ticzn955lbn7LnDpLGL0epuBWg 8h1NYCD2t9kb05NAplwreewcyseOjIP/lEXOOI/lQm7JNyYHotrcLb5Tvh2x4obKte2lig NMEdFJg26Fzk+gE5NiozqVIU9Q/2pavob1FNGE12t1QnXV0PvPZ5cLpM0Zypug== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=Rp4G0uPp; 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-Spam-Score: -3.30 X-Spam-Score: -3.30 X-Migadu-Queue-Id: 87E7C9905 X-Migadu-Scanner: scn1.migadu.com X-TUID: YN2ltgEfFEXt From: Antero Mejr * gnu/packages/datastructures.scm (zix): New variable. --- gnu/packages/datastructures.scm | 40 +++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/datastructures.scm b/gnu/packages/datastructures.scm index d40051506f..3d179624b8 100644 --- a/gnu/packages/datastructures.scm +++ b/gnu/packages/datastructures.scm @@ -26,6 +26,7 @@ (define-module (gnu packages datastructures) #:use-module (gnu packages autotools) #:use-module (gnu packages boost) #:use-module (gnu packages perl) + #:use-module (gnu packages pkg-config) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix gexp) @@ -390,3 +391,42 @@ (define-public robin-map policy, the last two use a prime growth policy instead and are able to cope better with a poor hash function.") (license license:expat))) + +(define-public zix + (let ((commit "56ec14c4369c591f5efbb500b0829b760bee7800") + (revision "0")) + (package + (name "zix") + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/drobilla/zix.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "095b2vjmwh9swbwkkkjpcdhsi0c93lxrzd76k7hzdyyf7zb5rgdx")))) + (build-system meson-build-system) + (arguments + (list #:configure-flags #~(list "-Ddocs=disabled"))) ;needs "sphinxygen" + (native-inputs (list pkg-config)) + (home-page "https://gitlab.com/drobilla/zix") + (synopsis "C library of portability wrappers and data structures") + (description + "Zix is a C library of portability wrappers and data structures. It +provides the following components: +@enumerate +@item @code{ZixAllocator}: A customizable allocator. +@item @code{ZixBumpAllocator}: A simple realtime-safe bump-pointer allocator. +@item @code{ZixBTree}: A page-allocated B-tree. +@item @code{ZixHash}: An open-addressing hash table. +@item @code{ZixRing}: A lock-free realtime-safe ring buffer. +@item @code{ZixSem}: A portable semaphore wrapper. +@item @code{ZixThread}: A portable thread wrapper. +@item @code{ZixTree}: A binary search tree. +@item @code{zix/digest.h}: Digest functions suitable for hashing arbitrary data. +@item @code{zix/filesystem.h}: Functions for working with filesystems. +@item @code{zix/path.h}: Functions for working with filesystem paths lexically. +@end enumerate\n") + (license license:isc)))) -- 2.39.1