summary refs log tree commit diff
diff options
context:
space:
mode:
authorPierre Neidhardt <mail@ambrevar.xyz>2021-03-02 10:08:46 +0100
committerPierre Neidhardt <mail@ambrevar.xyz>2021-03-02 10:09:07 +0100
commit14b32f62ac5171aaef206a6b8eb621ae96dc2856 (patch)
tree19266216e1c6f345830ce6fe22fc8f7e1a978f2e
parentc7e4a6dbb411c324791f1e9cce47b6dd319dbe17 (diff)
downloadguix-14b32f62ac5171aaef206a6b8eb621ae96dc2856.tar.gz
gnu: Add file-attributes.
* gnu/packages/lisp-xyz.scm (cl-file-attributes, ecl-file-attributes,
sbcl-file-attributes): New variables.
-rw-r--r--gnu/packages/lisp-xyz.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index b7c5da97b8..4a1bec3d62 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -14645,3 +14645,29 @@ on UNIX like platforms.")
 
 (define-public cl-daemon
   (sbcl-package->cl-source-package sbcl-daemon))
+
+(define-public sbcl-file-attributes
+  (let ((commit "2c6fdb08f136d5f9a8d12626ed5b64edc2ae1bb8"))
+    (package
+      (name "sbcl-file-attributes")
+      (version (git-version "1.0.0" "1" commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/Shinmera/file-attributes/")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1vi1h6pd04g41ay3hr76ac89isyz4x864g87r8v9xcl4gizkzwlq"))))
+      (build-system asdf-build-system/sbcl)
+      (inputs
+       `(("cffi" ,sbcl-cffi)
+         ("documentation-utils" ,sbcl-documentation-utils)
+         ("trivial-features" ,sbcl-trivial-features)))
+      (home-page "https://shinmera.github.io/file-attributes/")
+      (synopsis "Access to common file attributes in Common Lisp")
+      (description
+       "This is a small OS portability library to retrieve and set file
+attributes not supported by the Common Lisp standard functions.")
+      (license license:zlib))))