From 8a2ab51a1b547581d01f7cc52bdc2f81ece6855d Mon Sep 17 00:00:00 2001 From: Oleg Pykhalov Date: Wed, 2 May 2018 19:12:45 +0300 Subject: [PATCH] gnu: Add emacs-parinfer-mode. * gnu/packages/emacs.scm (emacs-parinfer-mode): New public variable. --- gnu/packages/emacs.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index cc21ad0580..f41858e0e4 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -9897,3 +9897,28 @@ (define-public emacs-highlight-defined 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+)))