From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:46148) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iw85L-00007z-61 for guix-patches@gnu.org; Mon, 27 Jan 2020 12:22:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iw85J-0002xC-WE for guix-patches@gnu.org; Mon, 27 Jan 2020 12:22:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52920) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iw85J-0002x2-Tg for guix-patches@gnu.org; Mon, 27 Jan 2020 12:22:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iw85J-0008Tm-Op for guix-patches@gnu.org; Mon, 27 Jan 2020 12:22:01 -0500 Subject: [bug#39311] [PATCH] gnu: Add guix-vim. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:45970) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iw84U-0008EP-Pv for guix-patches@gnu.org; Mon, 27 Jan 2020 12:21:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iw84T-00025C-P3 for guix-patches@gnu.org; Mon, 27 Jan 2020 12:21:10 -0500 Received: from flashner.co.il ([178.62.234.194]:43090) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iw84T-00024D-JI for guix-patches@gnu.org; Mon, 27 Jan 2020 12:21:09 -0500 From: Efraim Flashner Date: Mon, 27 Jan 2020 19:20:32 +0200 Message-Id: <20200127172032.25825-1-efraim@flashner.co.il> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39311@debbugs.gnu.org Cc: Efraim Flashner * gnu/packages/vim.scm (guix-vim): New variable. --- gnu/packages/vim.scm | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index b5952e3e21..a2d715dc1c 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm @@ -938,3 +938,45 @@ through its msgpack-rpc API.") =20 (define-public python2-pynvim (package-with-python2 python-pynvim)) + +(define-public guix-vim + (package + (name "guix-vim") + (version "0.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/Efraim/guix.vim") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1f8h8m96fqh3f9hy87spgh9kdqzyxl11n9s3rywvyq5xhn489bnk"))= )) + (build-system gnu-build-system) + (arguments + '(#:tests? #f + #:phases + (modify-phases %standard-phases + (delete 'configure) + (delete 'build) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (vimfiles (string-append out "/share/vim/vimfiles")) + (compiler (string-append vimfiles "/compiler")) + (doc (string-append vimfiles "/doc")) + (indent (string-append vimfiles "/indent")) + (ftdetect (string-append vimfiles "/ftdetect")) + (ftplugin (string-append vimfiles "/ftplugin")) + (syntax (string-append vimfiles "/syntax"))) + (copy-recursively "compiler" compiler) + (copy-recursively "doc" doc) + (copy-recursively "indent" indent) + (copy-recursively "ftdetect" ftdetect) + (copy-recursively "ftplugin" ftplugin) + (copy-recursively "syntax" syntax) + #t)))))) + (home-page "https://gitlab.com/Efraim/guix.vim") + (synopsis "Guix integration in Vim") + (description "This package provides support for GNU Guix in Vim.") + (license license:vim))) --=20 2.25.0