about summary refs log tree commit diff
diff options
context:
space:
mode:
authorArun Isaac2026-10-09 02:11:06 +0100
committerArun Isaac2026-10-09 02:11:06 +0100
commit3dda8b3ac6cfa25223519dcc4d530827d3405226 (patch)
tree7aec4d99013e363704d442fdb379a141f29956a5
parent244a4821c89183dd6a953c790d4a953a66a8e4dd (diff)
downloaddomagi-3dda8b3ac6cfa25223519dcc4d530827d3405226.tar.gz
domagi-3dda8b3ac6cfa25223519dcc4d530827d3405226.tar.lz
domagi-3dda8b3ac6cfa25223519dcc4d530827d3405226.zip
Use verstable from Guix upstream.
-rw-r--r--.guix/domagi-package.scm38
1 files changed, 1 insertions, 37 deletions
diff --git a/.guix/domagi-package.scm b/.guix/domagi-package.scm
index 2bbed06..ae25a9f 100644
--- a/.guix/domagi-package.scm
+++ b/.guix/domagi-package.scm
@@ -19,10 +19,10 @@
 (define-module (domagi-package)
   #:use-module ((gnu packages check) #:select (python-pytest))
   #:use-module ((gnu packages cmake) #:select (cmake))
+  #:use-module ((gnu packages datastructures) #:select (verstable))
   #:use-module ((gnu packages duckdb) #:select (duckdb python-duckdb))
   #:use-module ((gnu packages pkg-config) #:select (pkg-config))
   #:use-module ((gnu packages python-xyz) #:select (python-click python-meson))
-  #:use-module (guix build-system copy)
   #:use-module (guix build-system pyproject)
   #:use-module (guix gexp)
   #:use-module (guix git-download)
@@ -30,42 +30,6 @@
   #:use-module (guix packages)
   #:use-module (guix utils))
 
-(define-public verstable
-  (package
-    (name "verstable")
-    (version "2.2.1")
-    (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                     (url "https://github.com/JacksonAllan/Verstable")
-                     (commit (string-append "v" version))))
-              (file-name (git-file-name name version))
-              (sha256
-               (base32
-                "0lwh9kh0jl2vxcijd8606h5xvsjxxa051qaqlx82cl36nh0hkkxp"))))
-    (build-system copy-build-system)
-    (arguments
-     (list #:install-plan
-           #~'(("verstable.h" "include/verstable.h"))))
-    (home-page "https://github.com/JacksonAllan/Verstable")
-    (synopsis "Generic C hash table library")
-    (description "Verstable is a versatile generic hash table intended
-to bring the speed and memory efficiency of state-of-the-art C++ hash
-tables such as Abseil/Swiss, Boost, and Bytell to C.
-
-Its features include:
-@begin itemize
-@item Type safety
-@item Customizable hash, comparison, and destructor functions
-@item Single header
-@item C99 compatibility
-@item Generic API in C11 and later
-@item High speed mostly impervious to load factor
-@item Only two bytes of overhead per bucket
-@item Tombstone-free deletion
-@end itemize")
-    (license license:expat)))
-
 (define-public domagi
   (package
     (name "domagi")