diff mbox series

[bug#51156] gnu: Add vim-paredit

Message ID PU1PR01MB21559EBAA7CA42951D75EB3C8DB69@PU1PR01MB2155.apcprd01.prod.exchangelabs.com
State New
Headers show
Series [bug#51156] gnu: Add vim-paredit | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

Foo Chuan Wei Oct. 12, 2021, 12:59 p.m. UTC
* gnu/packages/vim.scm (vim-paredit): New variable.
---
 gnu/packages/vim.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)


base-commit: 35aaf1fe10488ae9ed732fb2c383d09a70c109c0

Comments

Efraim Flashner Oct. 13, 2021, 9:54 a.m. UTC | #1
I changed the version from 0.0.0 to 0.9.11 since that was the last
version listed.
Patch pushed! Thanks.
diff mbox series

Patch

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 92189b7094..ab04db9105 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -1069,3 +1069,30 @@  your code every time you make a change.  @code{Vim-slime} is an attempt at
 getting some of these features into Vim.  It works with any REPL and isn't tied
 to Lisp.")
       (license license:expat))))
+
+(define-public vim-paredit
+  (let ((commit "97d51d099523b37bb35cbcf3564cbfb46e66e4ec")
+        (revision "1"))
+    (package
+      (name "vim-paredit")
+      (version (git-version "0.0.0" revision commit))
+      (source
+        (origin
+          (method git-fetch)
+          (uri (git-reference
+                 (url "https://github.com/kovisoft/paredit")
+                 (commit commit)))
+          (file-name (git-file-name name version))
+          (sha256
+            (base32 "07d5s20r0ssd7rir45vy0fqlci44gha1a81rcilgar227f3nw328"))))
+      (build-system copy-build-system)
+      (arguments
+        '(#:install-plan
+          '(("doc" "share/vim/vimfiles/")
+            ("plugin" "share/vim/vimfiles/"))))
+      (home-page "https://github.com/kovisoft/paredit")
+      (synopsis "Vim plugin for structured editing of Lisp S-expressions")
+      (description
+        "Paredit performs structured editing of Lisp S-expressions in Vim.
+Paredit.vim is similar to paredit.el for Emacs.")
+      (license license:public-domain))))