From patchwork Sun Mar 15 00:52:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 20679 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 99A7F27BBEB; Sun, 15 Mar 2020 01:04:13 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 526C927BBEA for ; Sun, 15 Mar 2020 01:04:11 +0000 (GMT) Received: from localhost ([::1]:49878 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDHhK-000751-N2 for patchwork@mira.cbaines.net; Sat, 14 Mar 2020 21:04:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48126) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDHhD-00074r-PK for guix-patches@gnu.org; Sat, 14 Mar 2020 21:04:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jDHhC-0003rn-Lj for guix-patches@gnu.org; Sat, 14 Mar 2020 21:04:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56370) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jDHhC-0003ql-Ih for guix-patches@gnu.org; Sat, 14 Mar 2020 21:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jDHhC-0005sc-Di for guix-patches@gnu.org; Sat, 14 Mar 2020 21:04:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40066] [PATCH] gnu: add premake5. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 15 Mar 2020 01:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40066 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 40066@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158423422622577 (code B ref -1); Sun, 15 Mar 2020 01:04:02 +0000 Received: (at submit) by debbugs.gnu.org; 15 Mar 2020 01:03:46 +0000 Received: from localhost ([127.0.0.1]:34110 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jDHgv-0005s5-T5 for submit@debbugs.gnu.org; Sat, 14 Mar 2020 21:03:46 -0400 Received: from lists.gnu.org ([209.51.188.17]:54317) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jDHgt-0005ru-90 for submit@debbugs.gnu.org; Sat, 14 Mar 2020 21:03:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47893) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDHgr-00073J-1N for guix-patches@gnu.org; Sat, 14 Mar 2020 21:03:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jDHgo-00026I-Rw for guix-patches@gnu.org; Sat, 14 Mar 2020 21:03:40 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:19444) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jDHgo-0001kz-C7 for guix-patches@gnu.org; Sat, 14 Mar 2020 21:03:38 -0400 Received: from localhost.localdomain (193-83-20-222.hdsl.highway.telekom.at [193.83.20.222]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 48g1Gs1qNKz3wgL for ; Sun, 15 Mar 2020 01:56:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1584233813; bh=tH8bQOAJscG99VEHc4vbB9Uc2uoqFg+mETHOButKXs4=; h=From:To:Subject:Date; b=CQ0DuHxGUENAJ4xw/idvhLpTSYrDiRi2ObTq+eBD98d+58ssziiHBcgjzGFzT7jjx 1QJ7OTGQp6UY/K9rYwdmxlw2JSL7uBGRo704ydcc79umE2iyvd8Ng+beql8icv8PEU SynZbSfvBH61A/Y4X/Xt176ft6jKbKD08cfcr5SQ= From: Leo Prikler Date: Sun, 15 Mar 2020 01:52:37 +0100 Message-Id: <20200315005236.3031-1-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/build-tools.scm (premake5): New variable. --- gnu/packages/build-tools.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm index 63dc72e1a7..816eb6c8fe 100644 --- a/gnu/packages/build-tools.scm +++ b/gnu/packages/build-tools.scm @@ -245,6 +245,31 @@ other lower-level build files.") (home-page "https://premake.github.io") (license license:bsd-3))) +(define-public premake5 + (package + (inherit premake4) + (version "5.0.0-alpha14") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/premake/premake-core/" + "releases/download/v" version + "/premake-" version "-src.zip")) + (sha256 + (base32 + "0236s7bjvxf7x1l5faywmfzjywflpx42ngyhkn0mqqjnh54a97vw")))) + (arguments + (substitute-keyword-arguments (package-arguments premake4) + ((#:phases phases) + `(modify-phases ,phases + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (install-file "../../bin/release/premake5" + (string-append (assoc-ref outputs "out") "/bin")) + #t)))))) + (description "@code{premake5} is a command line utility that reads a +scripted definition of a software project and outputs @file{Makefile}s or +other lower-level build files."))) + (define-public osc (package (name "osc")