guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/04: gnu: Add vim-gnupg.


From: guix-commits
Subject: 03/04: gnu: Add vim-gnupg.
Date: Tue, 21 Dec 2021 09:24:55 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 49546b6b8c662d8b02b1d1671004e3c24a674b8a
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Dec 21 15:24:21 2021 +0200

    gnu: Add vim-gnupg.
    
    * gnu/packages/vim.scm (vim-gnupg): New variable.
---
 gnu/packages/vim.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 642384a..375b0e3 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -1115,6 +1115,36 @@ quotes, XML tags, and more.  The plugin provides 
mappings to easily delete,
 change and add such surroundings in pairs.")
     (license license:vim)))
 
+(define-public vim-gnupg
+  (package
+    (name "vim-gnupg")
+    (version "2.7.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/jamessan/vim-gnupg/releases/";
+                           "download/v" version
+                           "/vim-gnupg-v" version ".tar.gz"))
+       (sha256
+        (base32 "02w8lgyyh7wgxysvmmcf9ja5c06vrbyh3alzvv97x8cfhrp0skn7"))))
+    (build-system copy-build-system)
+    (arguments
+     '(#:install-plan
+       '(("autoload" "share/vim/vimfiles/")
+         ("doc" "share/vim/vimfiles/")
+         ("plugin" "share/vim/vimfiles/"))))
+    (home-page "https://www.vim.org/scripts/script.php?script_id=3645";)
+    (synopsis "Vim plugin for transparent editing of gpg encrypted files")
+    (description
+     "This script implements transparent editing of gpg encrypted files.  The
+filename must have a @code{.gpg}, @code{.pgp} or @code{.asc} suffix.  When
+opening such a file the content is decrypted, and the content will be encrypted
+to all recipients before it is written.  This script turns off viminfo,
+swapfile, and undofile when editing encrypted files to increase security.")
+    (properties
+     '((release-monitoring-url . 
"https://github.com/jamessan/vim-gnupg/releases";)))
+    (license license:gpl2+)))
+
 (define-public vim-ctrlp
   (package
     (name "vim-ctrlp")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]