From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iKbwCGu8OGPbegAAbAwnHQ (envelope-from ) for ; Sun, 02 Oct 2022 00:17:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id KJngCGu8OGNHWQAAauVa8A (envelope-from ) for ; Sun, 02 Oct 2022 00:17:15 +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 6E4D3368F5 for ; Sun, 2 Oct 2022 00:17:14 +0200 (CEST) Received: from localhost ([::1]:38414 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oeknJ-0008O5-LM for larch@yhetil.org; Sat, 01 Oct 2022 18:17:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52206) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oekn9-0008NW-7H for guix-patches@gnu.org; Sat, 01 Oct 2022 18:17:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46751) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oekn8-0002WR-8h for guix-patches@gnu.org; Sat, 01 Oct 2022 18:17:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oekn7-0003zl-Pv for guix-patches@gnu.org; Sat, 01 Oct 2022 18:17:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58236] [PATCH] gnu: genie: Add genie. Resent-From: "J. Sims" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 Oct 2022 22:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58236 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58236@debbugs.gnu.org X-Debbugs-Original-To: "guix-patches@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.166466257515301 (code B ref -1); Sat, 01 Oct 2022 22:17:01 +0000 Received: (at submit) by debbugs.gnu.org; 1 Oct 2022 22:16:15 +0000 Received: from localhost ([127.0.0.1]:45829 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oekmM-0003yi-Qs for submit@debbugs.gnu.org; Sat, 01 Oct 2022 18:16:15 -0400 Received: from lists.gnu.org ([209.51.188.17]:44342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oekmL-0003yY-Ff for submit@debbugs.gnu.org; Sat, 01 Oct 2022 18:16:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57344) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oekmK-0008FR-S6 for guix-patches@gnu.org; Sat, 01 Oct 2022 18:16:13 -0400 Received: from mail-40130.protonmail.ch ([185.70.40.130]:40253) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oekmG-0002TU-Gn for guix-patches@gnu.org; Sat, 01 Oct 2022 18:16:12 -0400 Date: Sat, 01 Oct 2022 22:15:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1664662554; x=1664921754; bh=+g9rZDMMhgF/MehSpbgu+yOGmJ/ifYyaMR5XuXcqbnw=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID; b=CcPZsPZwWQ6Qj4y950fh2KO/VzU+6hfvm3iMWeM9mXbJ9x846wuV6xm/vwKAt2n5/ 8P82D+0lMug4qevO68faRHdYC6Fmku+GP7uCtnDJZy8XrYnEf9Wg/eR8UuOQHh2rB+ 0Hg8Cq/ACP7ikWDa73gx7vPIoqy/bYjaDO2Uz2RJPzn0Fwo4R7uO0jKhFa3vF7PtHL JJzzvJjOYxcmZrJWNhA30WNXkU3DFRoJtDatyXe5atxrz1ivJpexhfhmxpcX/XGyy0 hUpUVFnQKjiM/E0g/ISIPHD6OOPlHBxgkxZIY/vgDZ9qkcSyhOAw4vSRn4nR+U44N3 fex34c9BqYPBg== Message-ID: <4U8NHZEnxqwJYZmqbBYDduYPojljirob5Ax9z0XH0A1W-PPzFbyPbLlp1ncKs-H3CsRFZ52plHVTtoqpvrKaciBg1WkYdheAON-fY93Ui8U=@protonmail.com> Feedback-ID: 12133992:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.130; envelope-from=jtsims@protonmail.com; helo=mail-40130.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Reply-to: "J. Sims" X-ACL-Warn: , "J. Sims via Guix-patches" From: "J. Sims via Guix-patches" via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664662634; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=+g9rZDMMhgF/MehSpbgu+yOGmJ/ifYyaMR5XuXcqbnw=; b=MPy2eX4l9IDHeYda5Wgtwj5SEza/8C1swu0LhntWzVeSchIgNE0XxDAarIWz5hjdQdToQd Qz+wBvyOFnlFFAV1tVHEr0Bqu7XCreEAvFmB+FTqhemDrRkgrteL0Gl7KeTKlQ4Qde9vds W/73rGPtlMma9HryVOwANk/Ib5+Y8ECaAc6kleRMZeTG5SmHG921PjeeAmyQhPYAiQGijK RtEWQI5DDyc2QllJkh6sN6BhZXw+jZ2h6ByJn8wyQNNS7nKaP8xSOZ7j5FNTV4ZthSZXw2 0KzxCNWhynXwe44KNQLsitKWS9CNXhUjG4NpFecUXMZ23UYc0qC+mHIux53Jnw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664662634; a=rsa-sha256; cv=none; b=ndBiPP72AoFBo2bbNuy0Y9KIBkEq8wZwxGXOb1OortIGG4H6StODd4uC5dMvPnnfQ17bba xUrvsGTSRuDussTpOpD21V4K8krLb7lr0yiMndXLk+0xrqkFH4OMYH8A1anzfMGisZVukF KpYXYrIWlhaFrH8ILxZcDWkHgsU2kLGKEuivZSlt3upZ/qaIk+lhjvekGUEmWEx1e7/yY3 6myHihiRsrhtC8/oxNGW7Z8cK7UQTOVg52E9FQDM1N2/jcFGEjKoDbBVopRJ66n04k73N1 GNBqZkuAg/4GMYLMRwDfnKPtadavFZtckqGDozI6qB0QrUGa9u6hXyVgWVzUdQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=CcPZsPZw; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -2.54 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=CcPZsPZw; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: 6E4D3368F5 X-Spam-Score: -2.54 X-Migadu-Scanner: scn0.migadu.com X-TUID: KcALxCdlchDi Hello, This is a patch to add the GENie project generator to Guix. It's a fork of = Premake 4.4 that some other projects, notably the Scopes programming langua= ge, use. I'm submitting it independently instead of as part of a patch series with S= copes because I've already packaged it then accidentally deleted that packa= ge twice before. Scopes has some rough edges around packaging in a Guix-fri= endly way and I don't suspect I will have its package ready very soon. All = of this together means I'd like to avoid repeating my previous mistakes and= go ahead and get it into Guix. Thanks, Juli --------------------------BEGIN-PATCH------------------------------ * gnu/packages/build-tools.scm (genie): Add genie. --- gnu/packages/build-tools.scm | 44 ++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm index 84a62d0fd6..55bec5f817 100644 --- a/gnu/packages/build-tools.scm +++ b/gnu/packages/build-tools.scm @@ -14,6 +14,7 @@ ;;; Copyright =C2=A9 2020 Efraim Flashner ;;; Copyright =C2=A9 2021 qblade ;;; Copyright =C2=A9 2021 Maxim Cournoyer +;;; Copyright =C2=A9 2022 Juliana Sims ;;; ;;; This file is part of GNU Guix. ;;; @@ -763,3 +764,46 @@ (define-public build @item Extensible language/compiler framework. @end itemize") (license license:gpl2+))) + +(define-public genie + (let ((commit "b139103697bbb62db895e4cc7bfe202bcff4ff25") + (ver "1167")) + (package + (name "genie") + (version ver) + (home-page "https://github.com/bkaradzic/genie") + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "16plshzkyjjzpfcxnwjskrs7i4gg0qn92h2k0rbfl4a79fgmwvwv"))= )) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (delete 'configure) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (install-file "bin/linux/genie" + (string-append out "/bin")))))) + #:parallel-build? #t + #:tests? #f)) ;; tests have not been updated since Premake fork + (synopsis "Project generator tool") + (description "GENie (pronounced as Jenny) is project generator tool.= It +automagically generates project from Lua script, making applying the same +settings for multiple projects easy. + +Supported project generators: +@itemize +@item GNU Makefile +@item JSON Compilation Database +@item Ninja (experimental) +@item Visual Studio 2010, 2012, 2013, 2015, 2017, 2019 +@item XCode +@end itemize") + (license license:bsd-3)))) base-commit: 461b1e490935e720999e78dc29656ae3c9ea2ea3 --=20 2.37.3