From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 QCwSDvY30WS/IwEASxT56A (envelope-from ) for ; Mon, 07 Aug 2023 20:29:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id AMH0DfY30WQ/OQEAauVa8A (envelope-from ) for ; Mon, 07 Aug 2023 20:29:10 +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 037D344AE7 for ; Mon, 7 Aug 2023 20:29:10 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691432950; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: 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; bh=9aDIb/TAYkYvOfd9iafmXzmwhqOcoOzw+/F1HfB9E8A=; b=jQx+iI+10//sBnXJrIF68yR2oswi545YZ6DrwbNOPleuwSMkf6NY9POjzpEDCZ2cYBfx2K HL0mxr5nhGsCx1vEvWi06fafziRbXTy/UVPsdVMl+LFs5tm3J130tynth62cV4yTwoDtm/ V1FTLTJDT85HjjawuGg2j/mpVnbu/GBTwD429Bt82dhnleQonuTd7hy0Big4Kw7naLwNpW 3CEQLGYF0b/5GepTNqBhBvM0K1zri5zT1MgBRc6bIuRhZAeX130eDoJxQe0OeI/V/mMCRf ZpWfWT07XUz5Ik5P1MF+wTXtTkKIVGAUxo4rT17/hwPPmZPirMZELZpnzMGpuw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691432950; a=rsa-sha256; cv=none; b=KddHpSxet/FuAl9HX/K+ffp/VibWUGx4/hcqvgYGanGgqFXHPsFU74Mj/2IKazFv6+0JXG cjiq/4nJpWFYQ4XBtEJhB7jcZwDVmZUpJvCYbP2vCJ19g4PbjzQxvRVrWj2ncq6XT8xz6Z L7GwE5RNI8YB8Ej7Me2sji4n35tRcmSVkKlDu9X4Zdc4S0BKJpvHmkLgL1BlbQaz67m9XF MI+vkfIgTRmdjg+JsJzEb02hl/V+17j5SITnf6B5G8RDzQbaRFp8s4QlicayqTha+ItZkL IenMosPfeZ69Ee38Prxo5b1DKpPlwm65uNx41JeQKIq6O/W6rwV1O9fqTIQG/A== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qT4xy-0002lE-Hl; Mon, 07 Aug 2023 14:28:30 -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 1qT4xc-0002AF-4I for guix-patches@gnu.org; Mon, 07 Aug 2023 14:28:08 -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 1qT4xb-0004Kv-SH for guix-patches@gnu.org; Mon, 07 Aug 2023 14:28:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qT4xb-0005t2-OI for guix-patches@gnu.org; Mon, 07 Aug 2023 14:28:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65131] [PATCH 24/32] gnu: Add vagrant-vai. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Aug 2023 18:28:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65131 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65131@debbugs.gnu.org Received: via spool by 65131-submit@debbugs.gnu.org id=B65131.169143285922375 (code B ref 65131); Mon, 07 Aug 2023 18:28:07 +0000 Received: (at 65131) by debbugs.gnu.org; 7 Aug 2023 18:27:39 +0000 Received: from localhost ([127.0.0.1]:34327 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qT4x8-0005od-Jc for submit@debbugs.gnu.org; Mon, 07 Aug 2023 14:27:39 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:57335) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qT4x5-0005ns-RU for 65131@debbugs.gnu.org; Mon, 07 Aug 2023 14:27:36 -0400 Received: from hermia.goebel-consult.de ([79.211.183.123]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1N2E9Y-1pp6aq113u-013bpP for <65131@debbugs.gnu.org>; Mon, 07 Aug 2023 20:27:30 +0200 Received: from thisbe.goebel-consult.de (thisbe.fritz.box [192.168.110.24]) by hermia.goebel-consult.de (Postfix) with ESMTP id B39CC66E92; Mon, 7 Aug 2023 20:26:40 +0200 (CEST) From: Hartmut Goebel Date: Mon, 7 Aug 2023 20:26:28 +0200 Message-Id: X-Mailer: git-send-email 2.30.9 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:GX1wRw7hGpVz6WysLz5+OWeLi6JWFVUXtY5e4De5mP0ZZVM0dpC X7b3RMEXDwl8qpw0WjTmTWvWstqKZ9zeCYUv7Dls9Cb6qlnjgSdhNGMebGtPYlyBDwOeZsh kTvplKB/oVineVJzL5j6dFV84CSFhiWKIYmc8Jr29i2DF21lb2KN0d63oFvsuq3+8YUGC5C nhm9ovfl62MoU+OcaNjZg== UI-OutboundReport: notjunk:1;M01:P0:gyAcn3seFZA=;GzYOFL2WUvzMv+IvqsXdds5GTr7 clraL94lhukw8sDQzA4JigLNS4m1UdisA4PtfjXkWkLDgsFu7grvdkQ1lEhlmLCypmtdgH3BX b+7T7zz47lc4HOIpbf2qxATmwC9Jkt5/nbNRAh9rRg78FuJaY8+JVQ0lJzv3tIQUm448GaD5G naUmRO2OuGrMkJUx5sIqbaCrlCqzjqkXLreWWlYRl1RVGtm73yHOGvmRec1w5hMT5u4DPJH/6 BkW9TiKow91RnEq1iaXFaYmc166ZKT732UEWDtkBmUrnfIItzXXWL07pN1qQ9PxBHW9e97Ogz j9FxNS5mSqt+ZgO30NrF54JQwPaY1EFH0w0hnSh86dWsTs/OaIG5EwkHIBiVQdd7SRHpL3BOg ISK+gRDwJD7lE6ohe8SMMxpTNn8BLyb/L40r3sZQq35HcjQnON5zBXLPRJFM2QWh7Z16+UaRe +m8Ihn+2uWluitNgKeDt6qO1nexIbMnLHXPrQVbb7HALbA2v6oeM0Rx4rqCzc39hUsl1h+qin GG/7FU2aYWKYkCPxBemopvL+SgffzcsoomNJEMW3KmPe+Pp6UbfRKHJxg5TO8Vd7DvAxZ4XIp CVE600ASeAV525Fq1LReNSYUT8/8/BG1E2rdj1a9q/uMQt2kF9FN4jXuldVGM6RSPWuDjNu6o OnONS6PAKkuYgmvDtYKq1pupfob303owP7jK0Q6Ms6Oj/hcHPDscBAWzeURWXYEBTDW/8aGdJ HeZDx8Q/SSe8Kom43yo3OZLFzH8aGRbPqvlY4pxb067kMmkMu5UlFtV8nzSw0lYr6JFmuzbl1 57CKjgLRbwN842nUwIYynxF0yTYSea+r+DxBSTPJ6kt3GpoKVE+swEX/Eqo37zq1m3ot8pixf KiP87kDjXN3155Q== 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: , 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: 037D344AE7 X-Migadu-Scanner: mx1.migadu.com X-Spam-Score: -4.66 X-Migadu-Spam-Score: -4.66 X-TUID: 4IFpCSkIgzBU * gnu/packages/virtualization.scm (vagrant-vai): New variable. --- gnu/packages/virtualization.scm | 48 +++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index d0b51a960d..d37844904c 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -87,6 +87,7 @@ #:use-module (gnu packages golang) #:use-module (gnu packages graphviz) #:use-module (gnu packages gtk) + #:use-module (gnu packages guile) #:use-module (gnu packages haskell) #:use-module (gnu packages haskell-apps) #:use-module (gnu packages haskell-check) @@ -2324,6 +2325,53 @@ conflicts when running on a `foreign distribution'.") (home-page "https://www.vagrantup.com") (license license:bsd-3))) +(define-public vagrant-vai + (package + (name "vagrant-vai") + (version "0.9.3") + (source (origin + (method url-fetch) + (uri (rubygems-uri "vai" version)) + (sha256 + (base32 + "041bi8hk03ybhacqzhw153j3knqhwvxn8aczzq6nikmpklcs4m4a")))) + (build-system ruby-build-system) + (arguments + (list + #:tests? #f ; tests involve running vagrant and downloading a box + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'install-plugin.json + (lambda _ + (let* ((plugins.d (string-append + #$output "/share/vagrant-plugins/plugins.d")) + (plugin.json (string-append + plugins.d "/" #$name ".json"))) + (mkdir-p plugins.d) + #$(with-extensions (list guile-json-4) + #~(begin + (use-modules (json)) + (call-with-output-file plugin.json + (lambda (port) + (scm->json + '(("vai" ;; #$name + . + (("ruby_version" + . #$(package-version (this-package-input "ruby"))) + ("vagrant_version" + . #$(package-version (this-package-input "vagrant"))) + ("gem_version" . "") + ("require" . "") + ("installed_gem_version" . #$version) + ("sources" . #())))) + port))))))))))) + (inputs (list ruby vagrant)) + (synopsis "Vagrant provisioning plugin to output an Ansible inventory") + (description "This plugin creates an Ansible inventory file containing the +created virtual machines and the respective ssh-parameters.") + (home-page "https://github.com/MatthewMi11er/vai") + (license license:expat))) + (define-public python-vagrant (package (name "python-vagrant") -- 2.30.9