[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#61423] [PATCH 3/6] gnu: Add zix.
From: |
Maya Tomasek |
Subject: |
[bug#61423] [PATCH 3/6] gnu: Add zix. |
Date: |
Sat, 11 Feb 2023 12:00:38 +0100 |
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
- bug#61425: Closing this as this was a mistake, (continued)
- [bug#61426] [PATCH 3/6] gnu: Add zix., Maya Tomasek, 2023/02/11
- [bug#61428] [PATCH 5/6] gnu: libaudec: Update to 0.3.4., Maya Tomasek, 2023/02/11
- [bug#61427] [PATCH 2/6] gnu: Add libpanel., Maya Tomasek, 2023/02/11
- [bug#61429] [PATCH 6/6] gnu: zrythm: Update to 1.0.0-beta.4.5.62., Maya Tomasek, 2023/02/11
- [bug#61423] [PATCH 1/6] gnu: zrythm: Update to 1.0.0-beta.4.5.1., Maya Tomasek, 2023/02/11
- [bug#61423] [PATCH 0/6] gnu: zrythm: Update to 1.0.0-beta.4.5.62, Alexandros Theodotou, 2023/02/24