gnu: Add emacs-parinfer-mode.
authorOleg Pykhalov <go.wigust@gmail.com>
Wed, 2 May 2018 16:12:45 +0000 (19:12 +0300)
committerOleg Pykhalov <go.wigust@gmail.com>
Wed, 2 May 2018 17:17:17 +0000 (20:17 +0300)
* gnu/packages/emacs.scm (emacs-parinfer-mode): New public variable.

gnu/packages/emacs.scm

index cc21ad0..f41858e 100644 (file)
@@ -9897,3 +9897,28 @@ decrease the number at point.")
 symbols.  Currently the code distinguishes Lisp functions, built-in functions,
 macros, faces and variables.  To enable call @code{highlight-defined-mode}. ")
     (license license:gpl3+)))
+
+(define-public emacs-parinfer-mode
+  (package
+    (name "emacs-parinfer-mode")
+    (version "0.4.10")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/DogLooksGood/parinfer-mode/archive/"
+                           "v" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "06ba9qi59sm9ih9m38fbr8kj4qkvrm58n0c0ngfjz60gnr9x9pcv"))))
+    (propagated-inputs
+     `(("emacs-dash" ,emacs-dash)
+       ("emacs-rainbow-delimiters" ,emacs-rainbow-delimiters)
+       ("emacs-company" ,emacs-company)))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/DogLooksGood/parinfer-mode/")
+    (synopsis "Lisp structure editing mode")
+    (description "@code{parinfer-mode} is a proof-of-concept editor
+mode for Lisp programming languages.  It will infer some changes to
+keep Parens and Indentation inline with one another.")
+    (license license:gpl3+)))