aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Neidhardt <mail@ambrevar.xyz>2020-01-03 16:42:42 +0100
committerPierre Neidhardt <mail@ambrevar.xyz>2020-01-03 16:46:40 +0100
commit3029b5856699062ae8ef8c0e79b40f8bb66d1708 (patch)
tree46ebe27c7475fe8e35134fc48289bc4104427574
parent41bc208e0cc0e9eca63d7b2c00eef2b9068a28d1 (diff)
downloadpatches-3029b5856699062ae8ef8c0e79b40f8bb66d1708.tar
patches-3029b5856699062ae8ef8c0e79b40f8bb66d1708.tar.gz
gnu: Add trivial-indent.
* gnu/packages/lisp-xyz.scm (cl-trivial-indent, sbcl-trivial-indent): New variables.
-rw-r--r--gnu/packages/lisp-xyz.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 96d31118d7..9264e46a91 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -7251,3 +7251,32 @@ path, maximum flow, minimum spanning tree, etc.).")
((#:asd-file _ "") "graph.json.asd")
((#:asd-system-name _ #f) "graph-json")))
(synopsis "Serialize graphs to and from JSON format")))
+
+(define-public sbcl-trivial-indent
+ (let ((commit "2d016941751647c6cc5bd471751c2cf68861c94a")
+ (revision "0"))
+ (package
+ (name "sbcl-trivial-indent")
+ (version (git-version "1.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/Shinmera/trivial-indent")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1sj90nqz17w4jq0ixz00gb9g5g6d2s7l8r17zdby27gxxh51w266"))))
+ (build-system asdf-build-system/sbcl)
+ (synopsis "Simple Common Lisp library to allow indentation hints for SWANK")
+ (description
+ "This library allows you to define custom indentation hints for your
+macros if the one recognised by SLIME automatically produces unwanted
+results.")
+ (home-page "https://shinmera.github.io/trivial-indent/")
+ (license license:zlib))))
+
+(define-public cl-trivial-indent
+ (sbcl-package->cl-source-package sbcl-trivial-indent))