From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id +FNfMev4+mR6bQEA9RJhRA:P1 (envelope-from ) for ; Fri, 08 Sep 2023 12:35:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id +FNfMev4+mR6bQEA9RJhRA (envelope-from ) for ; Fri, 08 Sep 2023 12:35:23 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 51F9F5C6FE for ; Fri, 8 Sep 2023 12:35:23 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=foundationdevices.com header.s=google header.b=WUiqbSoL; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694169323; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=odHDJip+0UJQ89Fpblqy23/hK3FyYRmpQ+jZsLftRh0=; b=drlXoGLWmYIK+pywOJsOtz+8JirOYZRh1Vs/Bb9mZp6TTC6qdyjVKI+DzmQfjQ/ruPlBdv +u92ohn7ev0Wz7iPBjAcqjOMNcKOgO3y7YMJ4lMF3YlE97XUvJ+Qa7ccEk7cBQ287jlZa5 Cjpm6vSvE6WyDE2z26E7MBCpCN6H+wiotPAPEyaHDL+B6AJXlwtiu8AV//Nfu4sOgiJScd yb0dMAu5xGpMrpR2UbheinSsgblYAQl/uikE4MVaneOaLfq5jjii9/XVBCY2rVZXjF1GZ7 n6kjQ+dzUtUx5ipeyk90DNrCorGW99HPWJDh2BCUmge+lIoslLxgHP8sc1IqRw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=foundationdevices.com header.s=google header.b=WUiqbSoL; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694169323; a=rsa-sha256; cv=none; b=mYacKJCVZHSEXU0bM2U0m3pfilKegROJiRj/AGVDjgSAuVUKC5kR6F0/udu0VDFaL62Ryv 0OiWZ4fU+0RwE/V5BQPU/Ii1X9GoROfZxKbK0w0ncs+mvMV9cV86ZOshlYbk2rc1RkUeBd W50HVjVqQ+sG49RHYD7RlRoDvCpouY4PVwNnZHWND6mQocCqIpT9fGE2XeSTUTksxevRf4 +PViNU5n4WTJ+QYGwQzTKLgb7CO2jSwfqjX+ycU3bkvRXWAWozLNAS+Ee69PH5Gtrh6suT 5wCmHo7eNEJc3TuDI59FzhqlM4CgCRl+nh2DKA93wWX41NmLZOieQvkQ5zbS9A== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qeYpL-0005QW-6N; Fri, 08 Sep 2023 06:35:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qeYpJ-0005PJ-ML for guix-patches@gnu.org; Fri, 08 Sep 2023 06:35:01 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qeYpJ-0000kR-DR for guix-patches@gnu.org; Fri, 08 Sep 2023 06:35:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qeYpK-0003Yp-Gy for guix-patches@gnu.org; Fri, 08 Sep 2023 06:35:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65820] [PATCH 1/3] gnu: Add vim-vader. References: <20230908103223.21492-1-jean@foundationdevices.com> In-Reply-To: <20230908103223.21492-1-jean@foundationdevices.com> Resent-From: Jean-Pierre De Jesus DIAZ Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Sep 2023 10:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65820 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65820@debbugs.gnu.org Cc: Jean-Pierre De Jesus DIAZ Received: via spool by 65820-submit@debbugs.gnu.org id=B65820.169416928813652 (code B ref 65820); Fri, 08 Sep 2023 10:35:02 +0000 Received: (at 65820) by debbugs.gnu.org; 8 Sep 2023 10:34:48 +0000 Received: from localhost ([127.0.0.1]:42274 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeYp5-0003Y7-UL for submit@debbugs.gnu.org; Fri, 08 Sep 2023 06:34:48 -0400 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:62609) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeYp2-0003Xt-EQ for 65820@debbugs.gnu.org; Fri, 08 Sep 2023 06:34:46 -0400 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-401d2e11dacso19947185e9.0 for <65820@debbugs.gnu.org>; Fri, 08 Sep 2023 03:34:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundationdevices.com; s=google; t=1694169276; x=1694774076; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=odHDJip+0UJQ89Fpblqy23/hK3FyYRmpQ+jZsLftRh0=; b=WUiqbSoLzRB4o5nIx04Wpq7jjE21kGGcxlhqF1OWoQKaVGCwDZQSfH8PJq8zKBJ0Se nubUaGXWNbUi9vc2dCxp2wOXQGurpfHxDcnRTbguTwintunGbIMQZ348/6u9em7Gm2nc fH2jzu8Yc19nXMakzbsL+iEO/2Jlpnug7xQEWpdG3G8HoH+qz40yD7zbfaADZD3O6Emy sBngb72KBFnQNSFdDAwc0m0xIYZlknUrFa9wIFwZ69IkWOwtzQrf3R5YW06BAj1S+6Bz AQd+y5XRT2otnATYLu1WSpRIjRb5zfaN7jhvM8OV7/dlifv1Ey/rs912MLlPqTOeyY6D hujA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694169276; x=1694774076; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=odHDJip+0UJQ89Fpblqy23/hK3FyYRmpQ+jZsLftRh0=; b=xAzc4U7/DBIGlKIna62Vq/JX/LtwmRLF7Y87ghst4SaDl76/IbNke7SQvIyWgsuiS5 Q9R6r7jLw28iCFWcjhlzX7HkslQDCcmmhqNqym6Sq7ywIWEpOjDd4XcsFBUZxbzyyYZj XJgJA5kDa7VCxN9faw/uBD2HI0+CJZH2wupX/UdCMdpCeCT73Fy2E7DiJLxlryZeQ6hE Jiw0Ozuo9yb75j34tVOh76fTg7bw0uhtS84pPwRwxUXoqsTjBDd8dccQ2o8HeaiV0kId 1EUmnpKUS1e6UiDRYbdEjmJkJApij2unYwZ2DUlZQozeF0hQhq5RdbC5ILTWGcxESB13 SnpA== X-Gm-Message-State: AOJu0YycuKGURQKauFeHUQQ+ci0O/84TN/3XV4zEU3pAVr367HmXKldb rnXzKmKt85JQGDVjOYk0XZs7eo+yw/Ry+KwbaWd+dA== X-Google-Smtp-Source: AGHT+IGQh4s+RXJkihonKqpZ59xsELyOnVgY3PrK5XCsuTXxJZ+0iSodGMYN2VdZa9zdFX2mhHO00w== X-Received: by 2002:a05:600c:5127:b0:402:f91e:df80 with SMTP id o39-20020a05600c512700b00402f91edf80mr842543wms.3.1694169275678; Fri, 08 Sep 2023 03:34:35 -0700 (PDT) Received: from omen15.home ([89.131.29.87]) by smtp.gmail.com with ESMTPSA id l40-20020a05600c1d2800b00402f7b50517sm1442102wms.40.2023.09.08.03.34.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Sep 2023 03:34:35 -0700 (PDT) Date: Fri, 8 Sep 2023 12:34:19 +0200 Message-Id: <20230908103419.21662-1-jean@foundationdevices.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Jean-Pierre De Jesus DIAZ X-ACL-Warn: , Jean-Pierre De Jesus DIAZ via Guix-patches From: Jean-Pierre De Jesus DIAZ via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 51F9F5C6FE X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -6.73 X-Spam-Score: -6.73 X-TUID: vsywO/JtMI78 * gnu/packages/vim.scm (vim-vader): New variable. Signed-off-by: Jean-Pierre De Jesus DIAZ --- gnu/packages/vim.scm | 50 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index 122f0f8ee7..e7c51c1c2d 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm @@ -14,6 +14,7 @@ ;;; Copyright © 2021 Foo Chuan Wei ;;; Copyright © 2022, 2023 Luis Henrique Gomes Higin65820@debbugs.gnu.orgo ;;; Copyright © 2023 Charles Jackson +;;; Copyright © 2023 Foundation Devices, Inc. ;;; ;;; This file is part of GNU Guix. ;;; @@ -1479,3 +1480,52 @@ (define-public vim-nerdcommenter operations and styles which are invoked via key mappings and a menu. These operations are available for most filetypes.") (license license:cc0))) + +(define-public vim-vader + (let ((revision "0") + (commit "6fff477431ac3191c69a3a5e5f187925466e275a")) + (package + (name "vim-vader") + (version (git-version "0.4.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/junegunn/vader.vim") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "179dbbqdyl6qf6jdb6kdazn3idz17m1h2n88rlggb1wnly74vjin")))) + (build-system copy-build-system) + (arguments + '(#:install-plan + '(("autoload" "share/vim/vimfiles/") + ("doc" "share/vim/vimfiles/") + ("ftdetect" "share/vim/vimfiles/") + ("ftplugin" "share/vim/vimfiles/") + ("plugin" "share/vim/vimfiles/") + ("syntax" "share/vim/vimfiles/")) + #:phases + (modify-phases %standard-phases + (add-before 'install 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + ;; FIXME: suite1.vader fails with an unknown reason, + ;; lang-if.vader requires Python and Ruby. + (substitute* "test/vader.vader" + (("Include.*feature/suite1.vader.*$") "") + (("Include.*feature/lang-if.vader.*$") "")) + + (display "Running Vim tests\n") + (with-directory-excursion "test" + (setenv "VADER_TEST_VIM" "vim -E") + (invoke "bash" "./run-tests.sh")))))))) + (native-inputs (list vim)) + (home-page "https://github.com/junegunn/vader.vim") + (synopsis "Test framework for Vimscript") + (description "Vader is a test framework for Vimscript designed to +simplify the process of writing and running unit tests. Vader.vim provides an +intuitive test syntax for defining test cases and expectations, it also can +be integrated with @acronym{CI, Continuous Integration} pipelines to +automate testing and is compatible with Vim and Neovim.") + (license license:expat)))) ;; Specified in README.md. -- 2.34.1