summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré A. Gomes <andremegafone@gmail.com>2023-01-02 14:06:47 +0200
committerGuillaume Le Vaillant <glv@posteo.net>2023-01-02 15:56:49 +0100
commitf87bc05de1d1481b1e7dc3482281a801fa3a0c64 (patch)
tree43d6d39d8c73a71e0eb7bbf679c59e701eba0c9d
parent8aa104752cb6a61f2ac689c31ac627ccab32f7fe (diff)
Add cl-history-tree.
* gnu/packages/lisp-xyz.scm (sbcl-history-tree, cl-history-tree, ecl-history-tree): New variable. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
-rw-r--r--gnu/packages/lisp-xyz.scm42
1 files changed, 41 insertions, 1 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index f8dbf9e1c8..db20ad00c0 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -23,7 +23,7 @@
;;; Copyright © 2020, 2021, 2022 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2021, 2022 Aurora <rind38@disroot.org>
;;; Copyright © 2021 Matthew James Kraai <kraai@ftbfs.org>
-;;; Copyright © 2021, 2022 André A. Gomes <andremegafone@gmail.com>
+;;; Copyright © 2021, 2022, 2023 André A. Gomes <andremegafone@gmail.com>
;;; Copyright © 2021, 2022 Cage <cage-dev@twistfold.it>
;;; Copyright © 2021 Cameron Chaparro <cameron@cameronchaparro.com>
;;; Copyright © 2021 Charles Jackson <charles.b.jackson@protonmail.com>
@@ -11083,6 +11083,46 @@ them as PNG files.")
(define-public ecl-hdf5-cffi
(sbcl-package->ecl-package sbcl-hdf5-cffi))
+(define-public sbcl-history-tree
+ (package
+ (name "sbcl-history-tree")
+ (version "0.1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/atlas-engineer/history-tree")
+ (commit version)))
+ (file-name (git-file-name "cl-history-tree" version))
+ (sha256
+ (base32 "0z4mfgswfbpkh496qqk130yk6d0q0q5imqybw9n58aq4ygfhibhz"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ (list
+ sbcl-alexandria
+ sbcl-custom-hash-table
+ sbcl-local-time
+ sbcl-hu.dwim.defclass-star
+ sbcl-trivial-package-local-nicknames))
+ (native-inputs (list sbcl-lisp-unit2))
+ (home-page "https://github.com/atlas-engineer/history-tree")
+ (synopsis "Store the history of a browser's visited paths")
+ (description
+ "This data structure can be used to store the history of visited paths or
+URLs with a file or web browser, in a way that no “forward” element is ever
+forgotten.
+
+The history tree is “global” in the sense that multiple owners (e.g. tabs) can
+have overlapping histories. On top of that, an owner can spawn another one,
+starting from one of its nodes (typically when you open a URL in a new tab).")
+ (license license:bsd-3)))
+
+(define-public cl-history-tree
+ (sbcl-package->cl-source-package sbcl-history-tree))
+
+(define-public ecl-history-tree
+ (sbcl-package->ecl-package sbcl-history-tree))
+
(define-public sbcl-cl-randist
(package
(name "sbcl-cl-randist")