unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: aecepoglu <aecepoglu@fastmail.fm>
To: 48420@debbugs.gnu.org
Subject: [bug#48420] [PATCH 9/9] gnu: Add parinfer-rust.
Date: Fri, 14 May 2021 19:18:48 +0300	[thread overview]
Message-ID: <20210514161848.dhzdyzkihdgnweb4@minitower> (raw)
In-Reply-To: <20210514161211.cufurvjkaixj5lzf@minitower>

* gnu/packages/text-editors.scm (parinfer-rust): New variable.
---
 gnu/packages/text-editors.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index 30747057f8..da1a76ad02 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -250,6 +250,40 @@ competitive (as in keystroke count) with Vim.")
 Rust.")
     (license license:unlicense)))
 
+(define-public parinfer-rust
+  (package
+    (name "parinfer-rust")
+    (version "0.4.3")
+    (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/eraserhd/parinfer-rust")
+             (commit (string-append "v" version))))
+       (sha256 "0hj5in5h7pj72m4ag80ing513fh65q8xlsf341qzm3vmxm3y3jgd")
+       (file-name (git-file-name name version))))
+    (build-system cargo-build-system)
+    (inputs
+     `(("clang" ,clang)))
+    (arguments
+      `(#:cargo-inputs
+        (("rust-getopts" ,rust-getopts-0.2)
+         ("rust-libc" ,rust-libc-0.2)
+         ("rust-emacs" ,rust-emacs-0.11)
+         ("rust-serde" ,rust-serde-1)
+         ("rust-serde-json" ,rust-serde-json-1)
+         ("rust-serde-derive" ,rust-serde-derive-1)
+         ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
+         ("rust-unicode-width" ,rust-unicode-width-0.1))))
+    (home-page
+      "https://github.com/justinbarclay/parinfer-rust")
+    (synopsis
+      "Infer parantheses for clojure, lisp, scheme")
+    (description
+      "Parinfer is a plugin for Kakoune, Vim and Emacs
+ that infers paretheses and indentation")
+    (license license:expat)))
+
 (define-public joe
   (package
     (name "joe")
-- 
2.31.1





  parent reply	other threads:[~2021-05-14 16:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-14 16:12 [bug#48420] [PATCH 1/9] gnu: Add rust-bindgen-0.48 aecepoglu
2021-05-14 16:17 ` [bug#48420] [PATCH 2/9] gnu: Add rust-emacs-module-0.10 aecepoglu
2021-05-14 16:17 ` [bug#48420] [PATCH 3/9] gnu: Add rust-darling-macro-0.9 aecepoglu
2021-05-14 16:17 ` [bug#48420] [PATCH 4/9] gnu: Add rust-strsim-0.7 aecepoglu
2021-05-14 16:18 ` [bug#48420] [PATCH 5/9] gnu: Add rust-darling-core-0.9 aecepoglu
2021-05-14 16:18 ` [bug#48420] [PATCH 6/9] gnu: Add rust-darling-0.9 aecepoglu
2021-05-14 16:18 ` [bug#48420] [PATCH 7/9] gnu: Add rust-emacs-macros-0.11 aecepoglu
2021-05-14 16:18 ` [bug#48420] [PATCH 8/9] gnu: Add rust-emacs-0.11 aecepoglu
2021-05-14 16:18 ` aecepoglu [this message]
2021-07-11  8:09   ` bug#48420: [PATCH 9/9] gnu: Add parinfer-rust Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210514161848.dhzdyzkihdgnweb4@minitower \
    --to=aecepoglu@fastmail.fm \
    --cc=48420@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).