From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id wHpJNQBv/14/PwAA0tVLHw (envelope-from ) for ; Fri, 03 Jul 2020 17:46:40 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id UHBKMQBv/15iAgAAB5/wlQ (envelope-from ) for ; Fri, 03 Jul 2020 17:46:40 +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 9162E94013C for ; Fri, 3 Jul 2020 17:46:40 +0000 (UTC) Received: from localhost ([::1]:60346 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jrPln-0007Pw-HR for larch@yhetil.org; Fri, 03 Jul 2020 13:46:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jrPkV-0004S8-TT for guix-patches@gnu.org; Fri, 03 Jul 2020 13:45:19 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46064) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jrPkV-0001dd-HN for guix-patches@gnu.org; Fri, 03 Jul 2020 13:45:19 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jrPkV-0003m9-Dq for guix-patches@gnu.org; Fri, 03 Jul 2020 13:45:19 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42180] [PATCH 21/22] gnu: Add erlang-rebar3-git-vsn. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 03 Jul 2020 17:45:19 +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.159379831414417 (code B ref 42180); Fri, 03 Jul 2020 17:45:19 +0000 Received: (at 42180) by debbugs.gnu.org; 3 Jul 2020 17:45:14 +0000 Received: from localhost ([127.0.0.1]:57593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jrPkQ-0003kN-Hj for submit@debbugs.gnu.org; Fri, 03 Jul 2020 13:45:14 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:48066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jrPkO-0003jd-QN for 42180@debbugs.gnu.org; Fri, 03 Jul 2020 13:45:13 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 49z2RX2KwZz1qs3l; Fri, 3 Jul 2020 19:45:12 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 49z2RX2Ckkz1qw7X; Fri, 3 Jul 2020 19:45:12 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id YP0uwlw4meV3; Fri, 3 Jul 2020 19:45:10 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-61-43.dynamic.mnet-online.de [188.174.61.43]) (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; Fri, 3 Jul 2020 19:45:10 +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 770FA609F7; Fri, 3 Jul 2020 19:44:17 +0200 (CEST) From: Hartmut Goebel Date: Fri, 3 Jul 2020 19:43:46 +0200 Message-Id: <2346f27bcc6cc3eeb72a0b9687f9b027b4eb57fe.1593797694.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) 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-Scanner: scn0 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-Spam-Score: 3.99 X-TUID: OHn/VRBCIWOX * 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 9c267250a0..e927f5db11 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -37,6 +37,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)) @@ -503,6 +504,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 +git.") + (license license:expat))) + (define-public erlang-rebar3-raw-deps (package (name "erlang-rebar3-raw-deps") -- 2.21.3