diff options
author | Marius Bakke <marius@gnu.org> | 2020-12-06 16:34:47 +0100 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2020-12-06 18:30:12 +0100 |
commit | 0d59aecf633bc33088948b0a0efb00913c8cf87f (patch) | |
tree | 234aa2a7b6baff360fcfcfe2f12e7e51319d9a5f /gnu/packages/datastructures.scm | |
parent | 0c68fff5afc2ec0129395ef53823c18bbc60fff6 (diff) | |
download | guix-0d59aecf633bc33088948b0a0efb00913c8cf87f.tar.gz |
gnu: Add tllist.
* gnu/packages/datastructures.scm (tllist): New public variable.
Diffstat (limited to 'gnu/packages/datastructures.scm')
-rw-r--r-- | gnu/packages/datastructures.scm | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/gnu/packages/datastructures.scm b/gnu/packages/datastructures.scm index cd4126b22d..2911a0c550 100644 --- a/gnu/packages/datastructures.scm +++ b/gnu/packages/datastructures.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2018 Meiyo Peng <meiyo.peng@gmail.com> ;;; Copyright © 2019, 2020 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2020 Mark H Weaver <mhw@netris.org> +;;; Copyright © 2020 Marius Bakke <marius@gnu.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -24,13 +25,15 @@ #:use-module (gnu packages) #:use-module (gnu packages autotools) #:use-module (gnu packages boost) + #:use-module (gnu packages build-tools) ;for meson-0.55 #:use-module (gnu packages perl) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix build-system cmake) - #:use-module (guix build-system gnu)) + #:use-module (guix build-system gnu) + #:use-module (guix build-system meson)) (define-public gdsl (package @@ -280,6 +283,28 @@ complexity of an operation performed on the classical data structure and the equivalent succinct data structure are (most of the time) identical.") (license license:gpl3+))) +(define-public tllist + (package + (name "tllist") + (version "1.0.4") + (home-page "https://codeberg.org/dnkl/tllist") + (source (origin + (method git-fetch) + (uri (git-reference (url home-page) (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1a26vwb7ll6mv3h8rbafsdx4vic1f286hiqn8s359sw8b7yjkvzs")))) + (build-system meson-build-system) + (arguments + `(#:meson ,meson-0.55)) + (synopsis "Typed link list for C") + (description + "@code{tllist} is a @dfn{typed linked list} C header file only library +implemented using pre-processor macros. It supports primitive data types as +well as aggregated ones such as structs, enums and unions.") + (license license:expat))) + (define-public libdivsufsort (package (name "libdivsufsort") |