all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maya Tomasek via Guix-patches via <guix-patches@gnu.org>
To: 61423@debbugs.gnu.org
Cc: Antero Mejr <antero@mailbox.org>
Subject: [bug#61423] [PATCH 3/6] gnu: Add zix.
Date: Sat, 11 Feb 2023 12:00:38 +0100	[thread overview]
Message-ID: <20230211110039.27645-3-maya.tomasek@disroot.org> (raw)
In-Reply-To: <20230211110039.27645-1-maya.tomasek@disroot.org>

From: Antero Mejr <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.39.1





  parent reply	other threads:[~2023-02-11 11:02 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-11 10:35 [bug#61423] [PATCH 0/6] gnu: zrythm: Update to 1.0.0-beta.4.5.62 Maya Tomasek via Guix-patches via
2023-02-11 10:35 ` [bug#61424] [PATCH 1/6] gnu: zrythm: Update to 1.0.0-beta.4.5.1 Maya Tomasek via Guix-patches via
2023-02-11 10:48   ` bug#61424: Closing this as this was a misstake guix-patches--- via
2023-02-11 10:35 ` [bug#61427] [PATCH 2/6] gnu: Add libpanel Maya Tomasek via Guix-patches via
2023-02-11 10:50   ` bug#61427: Closing this as this was a mistake guix-patches--- via
2023-02-11 10:35 ` [bug#61426] [PATCH 3/6] gnu: Add zix Maya Tomasek via Guix-patches via
2023-02-11 10:51   ` bug#61426: Closing this as this was a mistake guix-patches--- via
2023-02-11 10:35 ` [bug#61425] [PATCH 4/6] gnu: carla: Update to 2.6.0 pre-release Maya Tomasek via Guix-patches via
2023-02-11 10:51   ` bug#61425: Closing this as this was a mistake guix-patches--- via
2023-02-11 10:35 ` [bug#61428] [PATCH 5/6] gnu: libaudec: Update to 0.3.4 Maya Tomasek via Guix-patches via
2023-02-11 10:52   ` bug#61428: guix-patches--- via
2023-02-11 10:35 ` [bug#61429] [PATCH 6/6] gnu: zrythm: Update to 1.0.0-beta.4.5.62 Maya Tomasek via Guix-patches via
2023-02-11 10:56   ` bug#61429: Closing this as this was a mistake guix-patches--- via
2023-02-11 11:00 ` [bug#61423] [PATCH 1/6] gnu: zrythm: Update to 1.0.0-beta.4.5.1 Maya Tomasek via Guix-patches via
2023-02-11 11:00   ` [bug#61423] [PATCH 2/6] gnu: Add libpanel Maya Tomasek via Guix-patches via
2023-02-11 11:00   ` Maya Tomasek via Guix-patches via [this message]
2023-02-11 11:00   ` [bug#61423] [PATCH 4/6] gnu: carla: Update to 2.6.0 pre-release Maya Tomasek via Guix-patches via
2023-02-11 11:00   ` [bug#61423] [PATCH 5/6] gnu: libaudec: Update to 0.3.4 Maya Tomasek via Guix-patches via
2023-02-11 11:00   ` [bug#61423] [PATCH 6/6] gnu: zrythm: Update to 1.0.0-beta.4.5.62 Maya Tomasek via Guix-patches via
2023-02-24 23:11 ` [bug#61423] [PATCH 0/6] " Alexandros Theodotou
2023-02-27 14:44   ` Ludovic Courtès
2023-02-28 18:38     ` guix-patches--- via
2023-03-03 10:54       ` Ludovic Courtès

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=20230211110039.27645-3-maya.tomasek@disroot.org \
    --to=guix-patches@gnu.org \
    --cc=61423@debbugs.gnu.org \
    --cc=antero@mailbox.org \
    --cc=maya.tomasek@disroot.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.