From: Antero Mejr via Guix-patches via <guix-patches@gnu.org>
To: 60232@debbugs.gnu.org
Cc: Antero Mejr <antero@mailbox.org>
Subject: [bug#60232] [PATCH 2/4] gnu: Add zix.
Date: Wed, 21 Dec 2022 03:18:02 +0000 [thread overview]
Message-ID: <20221221031804.3191-2-antero@mailbox.org> (raw)
In-Reply-To: <20221221031804.3191-1-antero@mailbox.org>
* 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.38.1
next prev parent reply other threads:[~2022-12-21 3:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-21 3:12 [bug#60232] [PATCH][WIP] gnu: zrythm: Update to 1.0.0-beta.4.5.1 Antero Mejr via Guix-patches via
2022-12-21 3:18 ` [bug#60232] [PATCH 1/4] gnu: Add libpanel Antero Mejr via Guix-patches via
2022-12-21 3:18 ` Antero Mejr via Guix-patches via [this message]
2022-12-21 3:18 ` [bug#60232] [PATCH 3/4] gnu: carla: Update to 2.6.0 pre-release Antero Mejr via Guix-patches via
2022-12-21 3:18 ` [bug#60232] [PATCH 4/4] gnu: libaudec: Update to 0.3.4 Antero Mejr via Guix-patches via
2022-12-21 16:14 ` [bug#60232] (No Subject) Sughosha via Guix-patches via
2023-05-30 15:28 ` bug#60232: (no subject) Antero Mejr via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221221031804.3191-2-antero@mailbox.org \
--to=guix-patches@gnu.org \
--cc=60232@debbugs.gnu.org \
--cc=antero@mailbox.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.