2015-12-11 09:57:45 -05:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2019-11-25 03:55:01 -05:00
|
|
|
|
;;; Copyright © 2015, 2016, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
|
2021-02-15 11:47:58 -05:00
|
|
|
|
;;; Copyright © 2016, 2017, 2019–2021 Tobias Geerinckx-Rice <me@tobias.gr>
|
2018-10-28 23:17:50 -04:00
|
|
|
|
;;; Copyright © 2018 Meiyo Peng <meiyo.peng@gmail.com>
|
2022-03-28 12:03:39 -04:00
|
|
|
|
;;; Copyright © 2019, 2020, 2022 Efraim Flashner <efraim@flashner.co.il>
|
2020-07-30 17:59:13 -04:00
|
|
|
|
;;; Copyright © 2020 Mark H Weaver <mhw@netris.org>
|
2022-08-10 16:11:42 -04:00
|
|
|
|
;;; Copyright © 2020, 2022 Marius Bakke <marius@gnu.org>
|
2015-12-11 09:57:45 -05:00
|
|
|
|
;;;
|
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
|
;;; your option) any later version.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
|
;;;
|
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
|
|
(define-module (gnu packages datastructures)
|
|
|
|
|
#:use-module (gnu packages)
|
2020-06-29 08:36:25 -04:00
|
|
|
|
#:use-module (gnu packages autotools)
|
2020-07-30 17:59:13 -04:00
|
|
|
|
#:use-module (gnu packages boost)
|
2016-10-30 11:32:22 -04:00
|
|
|
|
#:use-module (gnu packages perl)
|
2015-12-11 09:57:45 -05:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
|
|
|
#:use-module (guix packages)
|
2022-08-10 16:11:42 -04:00
|
|
|
|
#:use-module (guix gexp)
|
2015-12-11 09:57:45 -05:00
|
|
|
|
#:use-module (guix download)
|
2019-01-26 08:46:05 -05:00
|
|
|
|
#:use-module (guix git-download)
|
2019-01-07 05:55:00 -05:00
|
|
|
|
#:use-module (guix build-system cmake)
|
2020-12-06 10:34:47 -05:00
|
|
|
|
#:use-module (guix build-system gnu)
|
|
|
|
|
#:use-module (guix build-system meson))
|
2015-12-11 09:57:45 -05:00
|
|
|
|
|
2016-02-29 09:13:12 -05:00
|
|
|
|
(define-public gdsl
|
|
|
|
|
(package
|
|
|
|
|
(name "gdsl")
|
|
|
|
|
(version "1.8")
|
|
|
|
|
(source (origin
|
2020-09-15 10:03:43 -04:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://example.org") ;only hosted on Software Heritage
|
|
|
|
|
(commit "6adb53be8b8f9f2e4bbfc92d357eedeefb4c7430")))
|
|
|
|
|
(file-name (git-file-name name version))
|
2016-02-29 09:13:12 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-09-15 10:03:43 -04:00
|
|
|
|
"0a52g12d9sf9hhcyvwfd7xdazj2a9i9jh97cnlqf2ymvwnvjk1g0"))))
|
2016-02-29 09:13:12 -05:00
|
|
|
|
(build-system gnu-build-system)
|
2020-09-15 10:03:43 -04:00
|
|
|
|
(home-page "https://web.archive.org/web/20170502005430/http://home.gna.org/gdsl/")
|
2016-02-29 09:13:12 -05:00
|
|
|
|
(synopsis "Generic data structures library")
|
|
|
|
|
(description "The Generic Data Structures Library (GDSL) is a collection
|
|
|
|
|
of routines for generic data structures manipulation. It is a re-entrant
|
|
|
|
|
library fully written from scratch in pure ANSI C. It is designed to offer
|
|
|
|
|
for C programmers common data structures with powerful algorithms, and hidden
|
|
|
|
|
implementation. Available structures are lists, queues, stacks, hash tables,
|
|
|
|
|
binary trees, binary search trees, red-black trees, 2D arrays, permutations
|
|
|
|
|
and heaps.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2018-10-28 23:17:50 -04:00
|
|
|
|
(define-public marisa
|
|
|
|
|
(package
|
|
|
|
|
(name "marisa")
|
2020-06-29 08:36:25 -04:00
|
|
|
|
(version "0.2.6")
|
2018-10-28 23:17:50 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2020-06-29 08:36:25 -04:00
|
|
|
|
(uri (string-append "https://github.com/s-yata/marisa-trie/files/"
|
|
|
|
|
"4832504/marisa-" version ".tar.gz"))
|
2018-10-28 23:17:50 -04:00
|
|
|
|
(sha256
|
2020-06-29 08:36:25 -04:00
|
|
|
|
(base32 "1pk6wmi28pa8srb4szybrwfn71jldb61c5vgxsiayxcyg1ya4qqh"))))
|
2018-10-28 23:17:50 -04:00
|
|
|
|
(build-system gnu-build-system)
|
2020-06-29 08:36:25 -04:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list autoconf automake libtool))
|
2018-10-28 23:17:50 -04:00
|
|
|
|
(home-page "https://github.com/s-yata/marisa-trie")
|
|
|
|
|
(synopsis "Trie data structure C++ library")
|
2020-06-29 08:37:18 -04:00
|
|
|
|
(description "@acronym{MARISA, Matching Algorithm with Recursively
|
|
|
|
|
Implemented StorAge} is a static and space-efficient trie data structure C++
|
2018-10-28 23:17:50 -04:00
|
|
|
|
library.")
|
|
|
|
|
|
|
|
|
|
;; Dual-licensed, according to docs/readme.en.html (source files lack
|
|
|
|
|
;; copyright/license headers.)
|
|
|
|
|
(license (list license:bsd-2 license:lgpl2.1+))))
|
|
|
|
|
|
2015-12-11 09:57:45 -05:00
|
|
|
|
(define-public sparsehash
|
|
|
|
|
(package
|
|
|
|
|
(name "sparsehash")
|
2020-08-15 16:07:08 -04:00
|
|
|
|
(version "2.0.4")
|
2015-12-11 09:57:45 -05:00
|
|
|
|
(source (origin
|
2019-11-24 12:16:50 -05:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/sparsehash/sparsehash")
|
2019-11-24 12:16:50 -05:00
|
|
|
|
(commit (string-append name "-" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2015-12-11 09:57:45 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-08-15 16:07:08 -04:00
|
|
|
|
"1pf1cjvcjdmb9cd6gcazz64x0cd2ndpwh6ql2hqpypjv725xwxy7"))))
|
2015-12-11 09:57:45 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(synopsis "Memory-efficient hashtable implementations")
|
|
|
|
|
(description
|
|
|
|
|
"This library contains several hash-map implementations, similar in API
|
|
|
|
|
to SGI's @code{hash_map} class, but with different performance
|
|
|
|
|
characteristics. @code{sparse_hash_map} uses very little space overhead, 1-2
|
2017-04-16 12:06:57 -04:00
|
|
|
|
bits per entry. @code{dense_hash_map} is very fast, particularly on lookup.
|
2015-12-11 09:57:45 -05:00
|
|
|
|
@code{sparse_hash_set} and @code{dense_hash_set} are the set versions of these
|
|
|
|
|
routines. All these implementation use a hashtable with internal quadratic
|
|
|
|
|
probing. This method is space-efficient -- there is no pointer overhead --
|
|
|
|
|
and time-efficient for good hash functions.")
|
|
|
|
|
(home-page "https://github.com/sparsehash/sparsehash")
|
|
|
|
|
(license license:bsd-3)))
|
2016-07-18 22:05:29 -04:00
|
|
|
|
|
|
|
|
|
(define-public ssdeep
|
|
|
|
|
(package
|
|
|
|
|
(name "ssdeep")
|
2020-04-12 22:56:18 -04:00
|
|
|
|
(version "2.14.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/ssdeep-project/ssdeep/"
|
|
|
|
|
"releases/download/release-" version "/"
|
|
|
|
|
"ssdeep-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "04qkjc6kksxkv7xbnk32rwmf3a8czdv2vvrdzfs0kw06h73snbpz"))))
|
2016-07-18 22:05:29 -04:00
|
|
|
|
(build-system gnu-build-system)
|
2020-04-12 22:58:06 -04:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list "--disable-static")))
|
2020-04-12 22:44:05 -04:00
|
|
|
|
(home-page "https://ssdeep-project.github.io")
|
2016-07-18 22:05:29 -04:00
|
|
|
|
(synopsis "Context-triggered piecewise hashing algorithm")
|
|
|
|
|
(description "ssdeep computes and matches context triggered piecewise
|
|
|
|
|
hashes (CTPH), also called fuzzy checksums. It can identify similar files
|
|
|
|
|
that have sequences of identical bytes in the same order, even though bytes
|
|
|
|
|
in between these sequences may be different in both content and length.")
|
|
|
|
|
(license license:gpl2+)))
|
2016-10-30 11:32:22 -04:00
|
|
|
|
|
2022-08-10 16:11:42 -04:00
|
|
|
|
(define-public libcuckoo
|
|
|
|
|
(package
|
|
|
|
|
(name "libcuckoo")
|
|
|
|
|
(version "0.3.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/efficient/libcuckoo")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0h9yhpkhk813dk66y6bs2csybw3pbpfnp3cakr2xism02vjwy19l"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list #:configure-flags #~'("-DBUILD_TESTS=1")))
|
|
|
|
|
(home-page "https://efficient.github.io/libcuckoo/")
|
|
|
|
|
(synopsis "Concurrent hash table")
|
|
|
|
|
(description
|
|
|
|
|
"@code{libcuckoo} provides a high-performance, compact hash table that
|
|
|
|
|
allows multiple concurrent reader and writer threads.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2016-10-30 11:32:22 -04:00
|
|
|
|
(define-public liburcu
|
|
|
|
|
(package
|
|
|
|
|
(name "liburcu")
|
2022-01-06 18:51:50 -05:00
|
|
|
|
(version "0.13.1")
|
2016-10-30 11:32:22 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.lttng.org/files/urcu/"
|
|
|
|
|
"userspace-rcu-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-01-06 18:51:50 -05:00
|
|
|
|
"10rh6v9j13622cjlzx31cfpghjy0kqkvn6pb42whwwcg5cyz64rj"))))
|
2016-10-30 11:32:22 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list perl)) ; for tests
|
2019-01-17 16:04:31 -05:00
|
|
|
|
(home-page "https://liburcu.org/")
|
2016-10-30 11:32:22 -04:00
|
|
|
|
(synopsis "User-space RCU data synchronisation library")
|
|
|
|
|
(description "liburcu is a user-space @dfn{Read-Copy-Update} (RCU) data
|
|
|
|
|
synchronisation library. It provides read-side access that scales linearly
|
|
|
|
|
with the number of cores. liburcu-cds provides efficient data structures
|
|
|
|
|
based on RCU and lock-free algorithms. These structures include hash tables,
|
|
|
|
|
queues, stacks, and doubly-linked lists.")
|
2022-05-18 13:12:42 -04:00
|
|
|
|
(license (list license:lgpl2.1 license:expat))))
|
2017-12-08 13:45:40 -05:00
|
|
|
|
|
|
|
|
|
(define-public uthash
|
|
|
|
|
(package
|
|
|
|
|
(name "uthash")
|
2020-04-12 22:40:24 -04:00
|
|
|
|
(version "2.1.0")
|
2017-12-08 13:45:40 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-01-26 08:46:05 -05:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/troydhanson/uthash")
|
2019-01-26 08:46:05 -05:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-12-08 13:45:40 -05:00
|
|
|
|
(sha256
|
2020-04-12 22:40:24 -04:00
|
|
|
|
(base32 "0k80bjbb6ss5wpmfmfji6xbyjm990hg9kcshwwnhdnh73vxkcd1m"))))
|
2017-12-08 13:45:40 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list perl))
|
2017-12-08 13:45:40 -05:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags
|
|
|
|
|
(list "CC=gcc")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure) ; nothing to configure
|
|
|
|
|
(delete 'build) ; nothing to build
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key make-flags #:allow-other-keys)
|
|
|
|
|
(with-directory-excursion "tests"
|
2019-01-26 08:46:40 -05:00
|
|
|
|
(apply invoke "make" make-flags))))
|
2017-12-08 13:45:40 -05:00
|
|
|
|
(replace 'install
|
|
|
|
|
;; There is no top-level Makefile to do this for us.
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
2020-04-12 22:40:09 -04:00
|
|
|
|
(doc (string-append out "/share/doc/" ,name "-" ,version))
|
2017-12-08 13:45:40 -05:00
|
|
|
|
(include (string-append out "/include")))
|
|
|
|
|
;; Don't install HTML files: they're just the below .txt files
|
|
|
|
|
;; dolled up, can be stale, and regeneration requires asciidoc.
|
|
|
|
|
(for-each (λ (file) (install-file file doc))
|
|
|
|
|
(find-files "doc" "\\.txt$"))
|
|
|
|
|
(for-each (λ (file) (install-file file include))
|
|
|
|
|
(find-files "src" "\\.h$"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(home-page "https://troydhanson.github.io/uthash/")
|
|
|
|
|
(synopsis
|
|
|
|
|
"Hash tables, lists, and other data structures implemented as C macros")
|
|
|
|
|
(description
|
|
|
|
|
"uthash implements a hash table and a few other basic data structures
|
|
|
|
|
as C preprocessor macros. It aims to be minimalistic and efficient: it's
|
|
|
|
|
around 1,000 lines of code which, being macros, inline automatically.
|
|
|
|
|
|
|
|
|
|
Unlike function calls with fixed prototypes, macros operate on untyped
|
|
|
|
|
arguments. Thus, they are able to work with any type of structure and key.
|
|
|
|
|
Any C structure can be stored in a hash table by adding @code{UT_hash_handle}
|
|
|
|
|
to the structure and choosing one or more fields to act as the key.")
|
|
|
|
|
(license license:bsd-2)))
|
2019-01-07 05:55:00 -05:00
|
|
|
|
|
|
|
|
|
(define-public sdsl-lite
|
|
|
|
|
(package
|
|
|
|
|
(name "sdsl-lite")
|
|
|
|
|
(version "2.1.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/simongog/sdsl-lite/"
|
|
|
|
|
"releases/download/v" version "/"
|
|
|
|
|
"sdsl-lite-" version
|
|
|
|
|
".tar.gz.offline.install.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-11-25 02:58:15 -05:00
|
|
|
|
"1v86ivv3mmdy802i9xkjpxb4cggj3s27wb19ja4sw1klnivjj69g"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(delete-file-recursively "external") #t))
|
|
|
|
|
(patches
|
|
|
|
|
(list (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri "https://salsa.debian.org/science-team/libsdsl/raw/debian/2.1.1+dfsg-2/debian/patches/0001-Patch-cmake-files.patch")
|
|
|
|
|
(file-name "sdsl-lite-dont-use-bundled-libraries.patch")
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0m542xpys54bni29zibgrfpgpd0zgyny4h131virxsanixsbz52z")))))))
|
2019-01-07 05:55:00 -05:00
|
|
|
|
(build-system cmake-build-system)
|
2019-11-25 02:58:15 -05:00
|
|
|
|
(arguments
|
2020-08-30 07:15:07 -04:00
|
|
|
|
`(#:phases
|
2019-11-25 02:58:15 -05:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'install-static-library
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(copy-file "lib/libsdsl_static.a"
|
|
|
|
|
(string-append out "/lib/libsdsl.a")))
|
2020-08-30 07:15:07 -04:00
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'install-pkgconfig-file
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2020-08-30 08:48:32 -04:00
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(lib (string-append out "/lib")))
|
2020-08-30 07:15:07 -04:00
|
|
|
|
(mkdir-p (string-append lib "/pkgconfig"))
|
|
|
|
|
(with-output-to-file (string-append lib "/pkgconfig/sdsl-lite.pc")
|
|
|
|
|
(lambda _
|
|
|
|
|
(format #t "prefix=~a~@
|
|
|
|
|
exec_prefix=${prefix}~@
|
|
|
|
|
libdir=${exec_prefix}/lib~@
|
|
|
|
|
includedir=${prefix}/include~@
|
|
|
|
|
~@
|
|
|
|
|
~@
|
|
|
|
|
Name: sdsl~@
|
|
|
|
|
Version: ~a~@
|
|
|
|
|
Description: SDSL: Succinct Data Structure Library~@
|
|
|
|
|
Libs: -L${libdir} -lsdsl -ldivsufsort -ldivsufsort64~@
|
|
|
|
|
Cflags: -I${includedir}~%"
|
|
|
|
|
out ,version)))
|
|
|
|
|
#t))))))
|
2022-03-28 12:03:39 -04:00
|
|
|
|
(propagated-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list libdivsufsort))
|
2019-01-07 05:55:00 -05:00
|
|
|
|
(home-page "https://github.com/simongog/sdsl-lite")
|
|
|
|
|
(synopsis "Succinct data structure library")
|
|
|
|
|
(description "The Succinct Data Structure Library (SDSL) is a powerful and
|
|
|
|
|
flexible C++11 library implementing succinct data structures. In total, the
|
|
|
|
|
library contains the highlights of 40 research publications. Succinct data
|
|
|
|
|
structures can represent an object (such as a bitvector or a tree) in space
|
|
|
|
|
close to the information-theoretic lower bound of the object while supporting
|
|
|
|
|
operations of the original object efficiently. The theoretical time
|
|
|
|
|
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+)))
|
2019-11-25 03:55:01 -05:00
|
|
|
|
|
2020-12-06 10:34:47 -05:00
|
|
|
|
(define-public tllist
|
|
|
|
|
(package
|
|
|
|
|
(name "tllist")
|
2021-02-15 11:47:58 -05:00
|
|
|
|
(version "1.0.5")
|
2020-12-06 10:34:47 -05:00
|
|
|
|
(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
|
2021-02-15 11:47:58 -05:00
|
|
|
|
"061mkg6hc9x89zya3bw18ymxlzd8fbhjipxpva8x01lh2vp1d4f0"))))
|
2020-12-06 10:34:47 -05:00
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(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)))
|
|
|
|
|
|
2019-11-25 03:55:01 -05:00
|
|
|
|
(define-public libdivsufsort
|
|
|
|
|
(package
|
|
|
|
|
(name "libdivsufsort")
|
|
|
|
|
(version "2.0.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/y-256/libdivsufsort")
|
2019-11-25 03:55:01 -05:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0fgdz9fzihlvjjrxy01md1bv9vh12rkgkwbm90b1hj5xpbaqp7z2"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f ; there are no tests
|
|
|
|
|
#:configure-flags
|
|
|
|
|
;; Needed for rapmap and sailfish.
|
|
|
|
|
'("-DBUILD_DIVSUFSORT64=ON")))
|
|
|
|
|
(home-page "https://github.com/y-256/libdivsufsort")
|
|
|
|
|
(synopsis "Lightweight suffix-sorting library")
|
|
|
|
|
(description "libdivsufsort is a software library that implements a
|
|
|
|
|
lightweight suffix array construction algorithm. This library provides a
|
|
|
|
|
simple and an efficient C API to construct a suffix array and a
|
|
|
|
|
Burrows-Wheeler transformed string from a given string over a constant-size
|
|
|
|
|
alphabet. The algorithm runs in O(n log n) worst-case time using only 5n+O(1)
|
|
|
|
|
bytes of memory space, where n is the length of the string.")
|
|
|
|
|
(license license:expat)))
|
2020-07-30 17:59:13 -04:00
|
|
|
|
|
|
|
|
|
(define-public robin-map
|
|
|
|
|
(package
|
|
|
|
|
(name "robin-map")
|
|
|
|
|
(version "0.6.3")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/Tessil/robin-map")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1li70vwsksva9c4yly90hjafgqfixi1g6d52qq9p6r60vqc4pkjj"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list boost)) ; needed for tests
|
2020-07-30 17:59:13 -04:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
(mkdir "tests")
|
|
|
|
|
(with-directory-excursion "tests"
|
|
|
|
|
(invoke "cmake" "../../source/tests")
|
|
|
|
|
(invoke "cmake" "--build" ".")
|
|
|
|
|
(invoke "./tsl_robin_map_tests")))))))
|
|
|
|
|
(home-page "https://github.com/Tessil/robin-map")
|
|
|
|
|
(synopsis "C++ implementation of a fast hash map and hash set")
|
|
|
|
|
(description "The robin-map library is a C++ implementation of a fast hash
|
|
|
|
|
map and hash set using open-addressing and linear robin hood hashing with
|
|
|
|
|
backward shift deletion to resolve collisions.
|
|
|
|
|
|
|
|
|
|
Four classes are provided: tsl::robin_map, tsl::robin_set, tsl::robin_pg_map
|
|
|
|
|
and tsl::robin_pg_set. The first two are faster and use a power of two growth
|
|
|
|
|
policy, the last two use a prime growth policy instead and are able to cope
|
|
|
|
|
better with a poor hash function.")
|
|
|
|
|
(license license:expat)))
|