diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-01-09 09:51:34 +0000 |
|---|---|---|
| committer | Rutherther <rutherther@ditigal.xyz> | 2026-01-25 21:22:20 +0100 |
| commit | 0a1838450b848bcd80bb967d1c052f1ea7dedafd (patch) | |
| tree | 04d43ada770eb2ca4692dae423c7f662eb09010e /gnu | |
| parent | 22e9f44d9ce5673c3b0da5a0eda8c1e3448b90b7 (diff) | |
gnu: Add c-siphash.
* gnu/packages/c.scm (c-siphash): New variable.
Change-Id: Icc2cbe8cb408ea345d3921b4fce74e5761f79b87
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/c.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm index d5b077fb705..5f68dc63c9a 100644 --- a/gnu/packages/c.scm +++ b/gnu/packages/c.scm @@ -153,6 +153,34 @@ data structure with good performance characteristics for concatenation and slicing.") (license license:boost1.0)))) +(define-public c-siphash + (package + (name "c-siphash") + (version "1.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/c-util/c-siphash") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1igz5nbdm8l0hir5azmjcc46qz9qhrhkr656fzll99vsnja815sb")))) + (build-system meson-build-system) + (native-inputs + (list pkg-config)) + (propagated-inputs + (list c-stdaux)) + (home-page "https://c-util.github.io/c-siphash/") + (synopsis "Streaming-capable SipHash") + (description + "The c-siphash project is a standalone implementation of SipHash in +Standard ISO-C11. It provides a streaming-capable API to compute data hashes +according to the SipHash algorithm. For API documentation, see the +@code{c-siphash.h} header file, as well as the docbook comments for each function.") + (license (list license:asl2.0 + license:lgpl2.1+)))) + (define-public c-stdaux (package (name "c-stdaux") |
