From b3919445432f35d779d342fcd63f5ca8ca757234 Mon Sep 17 00:00:00 2001 From: Konrad Hinsen Date: Mon, 2 Sep 2024 17:32:47 +0200 Subject: gnu: Add cl-file-finder. * gnu/packages/lisp-xyz.scm (sbcl-file-finder, cl-file-finder, ecl-file-finder): New variables. Change-Id: Ibb3dc5c5a8ee5383dfa0bc8fa8a43a7d35c3397d Signed-off-by: Guillaume Le Vaillant --- gnu/packages/lisp-xyz.scm | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 39d4093091..70be0a8367 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -16,7 +16,7 @@ ;;; Copyright © 2019 Jesse Gildersleve ;;; Copyright © 2019-2024 Guillaume Le Vaillant ;;; Copyright © 2019 Brett Gilio -;;; Copyright © 2020 Konrad Hinsen +;;; Copyright © 2020, 2024 Konrad Hinsen ;;; Copyright © 2020 Dimakis Dimakakos ;;; Copyright © 2020 Oleg Pykhalov ;;; Copyright © 2020, 2021, 2022 Adam Kandur @@ -14950,6 +14950,42 @@ attributes not supported by the Common Lisp standard functions.") (define-public cl-file-attributes (sbcl-package->cl-source-package sbcl-file-attributes)) +(define-public sbcl-file-finder + (let ((commit "ec392d775eee33dbdea0d6532d20952438991f99") + (revision "0")) + (package + (name "sbcl-file-finder") + (version (git-version "0.2.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/lisp-maintainers/file-finder") + (commit commit))) + (file-name (git-file-name "cl-file-finder" version)) + (sha256 + (base32 "1mpasi7n0ysggx0inxdbzlwavh08m0jxvv220ammvcyn3xybbchj")))) + (build-system asdf-build-system/sbcl) + (inputs + (list sbcl-alexandria + sbcl-cl-str + sbcl-file-attributes + sbcl-local-time + sbcl-named-readtables + sbcl-serapeum)) + (synopsis "Enable rapid file search, inspection and manipulation") + (description + "This library provides modern file handling for Common Lisp, which +avoids many of the pitfalls of pathnames.") + (home-page "https://github.com/lisp-maintainers/file-finder") + (license license:gpl3+)))) + +(define-public ecl-file-finder + (sbcl-package->ecl-package sbcl-file-finder)) + +(define-public cl-file-finder + (sbcl-package->cl-source-package sbcl-file-finder)) + (define-public sbcl-file-notify (let ((commit "f12dc2f2aae5fee13355cd93a8cae0c4c412b76d") (revision "0")) -- cgit v1.2.3