From 49546b6b8c662d8b02b1d1671004e3c24a674b8a Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 21 Dec 2021 15:24:21 +0200 Subject: gnu: Add vim-gnupg. * gnu/packages/vim.scm (vim-gnupg): New variable. --- gnu/packages/vim.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'gnu/packages/vim.scm') diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index 642384adfc..375b0e3694 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm @@ -1115,6 +1115,36 @@ (define-public vim-surround 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") -- cgit v1.2.3