From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QJqaF7DFXWGuiwAAgWs5BA (envelope-from ) for ; Wed, 06 Oct 2021 17:50:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id WABOE7DFXWGKVgAAbx9fmQ (envelope-from ) for ; Wed, 06 Oct 2021 15:50:08 +0000 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 2B4C4CC9D for ; Wed, 6 Oct 2021 17:50:08 +0200 (CEST) Received: from localhost ([::1]:42808 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mY9BH-0002pq-8T for larch@yhetil.org; Wed, 06 Oct 2021 11:50:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48338) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY8kJ-00058f-Bb for guix-patches@gnu.org; Wed, 06 Oct 2021 11:22:15 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33778) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mY8kJ-0000q9-2q for guix-patches@gnu.org; Wed, 06 Oct 2021 11:22:15 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mY8kI-0005Fq-V9 for guix-patches@gnu.org; Wed, 06 Oct 2021 11:22:14 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42180] [PATCH v2 21/23] gnu: Add erlang-rebar3-git-vsn. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Oct 2021 15:22:14 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42180 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42180@debbugs.gnu.org X-Debbugs-Original-To: 42180@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by 42180-submit@debbugs.gnu.org id=B42180.163353371019890 (code B ref 42180); Wed, 06 Oct 2021 15:22:14 +0000 Received: (at 42180) by debbugs.gnu.org; 6 Oct 2021 15:21:50 +0000 Received: from localhost ([127.0.0.1]:45276 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jt-0005Ae-IV for submit@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:49 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:54260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY8jo-00058i-AN for 42180@debbugs.gnu.org; Wed, 06 Oct 2021 11:21:44 -0400 Received: from frontend02.mail.m-online.net (unknown [192.168.8.183]) by mail-out.m-online.net (Postfix) with ESMTP id 4HPdTg5vyMz1sCwl; Wed, 6 Oct 2021 17:21:43 +0200 (CEST) Received: from localhost (dynscan2.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4HPdTg5pQLz1qqkD; Wed, 6 Oct 2021 17:21:43 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan2.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id T-6ts7i8aJ2N; Wed, 6 Oct 2021 17:21:42 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-52-121.dynamic.mnet-online.de [188.174.52.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Wed, 6 Oct 2021 17:21:42 +0200 (CEST) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id ADEA361486; Wed, 6 Oct 2021 17:20:45 +0200 (CEST) From: Hartmut Goebel Date: Wed, 6 Oct 2021 17:20:19 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633535408; 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=InwaF3R/Z1CD9VQZa0mo9ERwEXbN5YFBEdpGavviQu8=; b=IbfLLNLH/LlglgXLOyPaUTAcl6PDHVhI/C5rQUvz21e8lip72VssHgIhmRTjzziPJPxGQ9 hY66E76YQkwHyeSJ79hz3AVenEAS60TjDCbLStyLKC/eomBg1aIV0Sjzv23eVsq9cVanfb exIXXnSm+lNBgH5ga5flKoSFtCaxVoXkOEYWDqw8VOfYmrbv2JfXyAQQPMDbgiM1jEfrtd dJECuluWAFNZALplui3lXJ8swrPzKrWtomAsLi/GWZ09DdZSc6ZhNeo+jfxNeFdTx440MU SBvFg9JMZ7Q1saQ0wg8KElD6jVGKizwjEPUgCHmEloYXRvNs7dRddww91VR5sQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633535408; a=rsa-sha256; cv=none; b=jUUoQLEMPVnzzTzhtlAugYGR8EnrJB1hvulT90oVYyY6F4YqgfTK9EJDmPPsqAj/JtLMuy eiGdAtwnaz+VKADAYNdnEg8Qx8hSJ4n88g/RcQ8kSoWlRsBU++iqZRlVU85M3BLZpk6WrT 0Q2rLg08ySD4wTACD8yc8h2dtyNvdfxJJ+48zzXhfdlS7KeLe+h9HOV+6CO/BEgx8UXNz9 tcchDp4gYEWduuTQpP3nKKX/y4t8NJc2Vc92uimUPcPqgcPsYZjHDRFqi+uVSzsOUkSaOj c7vydJfdnw9K4vWkB3o8pXDnqvK0SbTHCEMjJfWNO/A1Iui1flWJe0RBFo6T4w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 2.08 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 2B4C4CC9D X-Spam-Score: 2.08 X-Migadu-Scanner: scn1.migadu.com X-TUID: 42TLWy9hy5B9 * gnu/packages/erlang.scm (erlang-rebar3-git-vsn): New variable. --- gnu/packages/erlang.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 6003bec251..0e8a277970 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -38,6 +38,7 @@ #:use-module (gnu packages gl) #:use-module (gnu packages ncurses) #:use-module (gnu packages perl) + #:use-module (gnu packages version-control) #:use-module (gnu packages tls) #:use-module (gnu packages wxwidgets)) @@ -511,6 +512,35 @@ testing of stateful systems.") (description "This package provides an Erlang providers library.") (license license:asl2.0))) +(define-public erlang-rebar3-git-vsn + (package + (name "erlang-rebar3-git-vsn") + (version "1.1.1") + (source + (origin + (method hexpm-fetch) + (uri (hexpm-uri "rebar3_git_vsn" version)) + (sha256 + (base32 "1ra4xjyc40r97aqb8aq2rll1v8wkf9jyisnbk34xdqcgv9s9iw7d")))) + (build-system rebar3-build-system) + (inputs + `(("git" ,git))) + (arguments + `(#:tests? #f ;; depends on rebar TODO: remove this dependency + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-path + (lambda* (#:key inputs #:allow-other-keys) + (let ((git (assoc-ref inputs "git"))) + (substitute* "src/rebar3_git_vsn.erl" + (("rebar_utils:sh\\(\"git " _) + (string-append "rebar_utils:sh(\"" git "/bin/git "))))))))) + (home-page "https://github.com/soranoba/rebar3_git_vsn") + (synopsis "Rebar3 plugin for generating the version from git") + (description "This plugin adds support for generating the version from +a git checkout.") + (license license:expat))) + (define-public erlang-rebar3-raw-deps (package (name "erlang-rebar3-raw-deps") -- 2.30.2