From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mGZpEOW2LWEGGwAAgWs5BA (envelope-from ) for ; Tue, 31 Aug 2021 06:58:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id gES3C+W2LWEcEgAAbx9fmQ (envelope-from ) for ; Tue, 31 Aug 2021 04:58:13 +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 972121653A for ; Tue, 31 Aug 2021 06:58:12 +0200 (CEST) Received: from localhost ([::1]:53192 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKvqd-0005bu-JA for larch@yhetil.org; Tue, 31 Aug 2021 00:58:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51076) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKvqV-0005bm-4N for guix-patches@gnu.org; Tue, 31 Aug 2021 00:58:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49332) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKvqT-0005i7-SV for guix-patches@gnu.org; Tue, 31 Aug 2021 00:58:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKvqT-0001Hu-MN for guix-patches@gnu.org; Tue, 31 Aug 2021 00:58:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50229] [PATCH] gnu: Add genie References: Resent-From: Sarah Morgensen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 31 Aug 2021 04:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50229 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Andy Tai Cc: 50229@debbugs.gnu.org Received: via spool by 50229-submit@debbugs.gnu.org id=B50229.16303858264884 (code B ref 50229); Tue, 31 Aug 2021 04:58:01 +0000 Received: (at 50229) by debbugs.gnu.org; 31 Aug 2021 04:57:06 +0000 Received: from localhost ([127.0.0.1]:60878 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKvpa-0001Gi-AB for submit@debbugs.gnu.org; Tue, 31 Aug 2021 00:57:06 -0400 Received: from out0.migadu.com ([94.23.1.103]:31610) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKvpT-0001GB-DW for 50229@debbugs.gnu.org; Tue, 31 Aug 2021 00:57:04 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mgsn.dev; s=key1; t=1630385817; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to; bh=/2kM0D8RFML5abKDYxb9T/P5mLluiLzBcHnFETrxHfo=; b=cmz3w/iQ8eMNuWAcEuC2/A2kpffKbQKG2eqyxvCVJIbY2DtVIAhWnSA3MzgSxU1f0jDRuc /+cboKnxtANGIINMi5SjBgJTaV8B7hDE7YotzMWoZneu9SSz4SBsD8jxTJ+NSK2FhzPdCd jbGVS4A0sxaELp3UcPG7Oyjvij3A38I= From: Sarah Morgensen Date: Mon, 30 Aug 2021 21:56:54 -0700 In-Reply-To: Andy Tai's message of "Fri, 27 Aug 2021 10:29:12 -0700 (3 days, 11 hours, 4 minutes ago)" Message-ID: <86k0k21aax.fsf@mgsn.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Migadu-Auth-User: iskarian@mgsn.dev 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=1630385893; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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:dkim-signature; bh=/2kM0D8RFML5abKDYxb9T/P5mLluiLzBcHnFETrxHfo=; b=fYpKvKIX3P5gcLp+1L/ol6QzzlPGzEvNevS4HaN/tYxjD0rqSdKzrpsU+4Ni8kfv/knOoY QZ+uxb+Ufp0N/OL0ubHCi5eHDVpESoDMM1yidK/FCJZcBnAtKxpdqSMDannLjwWAN9ECZY g2H3GTsS0Vyf8ILTxBIus7CstTekTTPErmbHa5qRdlXdEHjEd4Dx895FUl5R20LkvAgG4t d/AApoBza8tuugieBFhBbG4gSpbbq4/wRHmh2h6XNi3ydwru8BtVTi2IJK3+wHKM9xg2S3 smVc7NftuiNGxwaJpDJk+Any4TUvBXPTUC2xXOBV5Gvrxw+S1urt/hMbZ8cwhg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630385893; a=rsa-sha256; cv=none; b=RsFExTPhOOXGsB7Wy/xdx3OcOmjst6CPKdl5xyNK++ipZYLU64x+4cSl4wjUypXsmQs68I PucoEbc3UvOUBVibDqr6/29WTZY0e+T9CyssEvhaQETXzDPZw4l2TP2nnFhkwxoh2LqWy0 7o2cYKS5tmOd5K94iSlNSJSRMcQypH1L8zQ7hAppK86rDLbcVXM7Qlq47Gxuj65o9am3dz HjRgqPDmCEP1sNumwRiJGh7eXacYZDzVN8NCdffNF4YhOjOz0S4hVgxsyVugTw+NkVpU5E ii30rCOwSDD9PD5EdsqvCkaX4gSUnmNx4yeXj9Ap3xJKqiVOIB2CQzXvMjoyHg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b="cmz3w/iQ"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mgsn.dev (policy=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: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b="cmz3w/iQ"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mgsn.dev (policy=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: 972121653A X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: fjbxbVrphm2W Hi, Thanks for the patch. Just a couple quick notes: Andy Tai writes: > * gnu/packages/build-tools.scm (genie): New variable > --- > gnu/packages/build-tools.scm | 37 ++++++++++++++++++++++++++++++++++++ > 1 file changed, 37 insertions(+) > > diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm > index d2fb9e05df..456d9583bc 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 2021 Andy Tai > ;;; > ;;; This file is part of GNU Guix. > ;;; > @@ -584,3 +585,39 @@ Build has features such as: > @item Extensible language/compiler framework. > @end itemize") > (license license:gpl2+))) > + > +(define-public genie > + (let ((commit "5fecb127855ee069df345f20d17fea78220fee93") > + (revision "0")) > + (package > + (name "genie") > + (version > + (git-version "0" revision commit)) > + (source > + (origin > + (method git-fetch) > + (uri > + (git-reference > + (url "https://github.com/bkaradzic/genie") > + (commit commit))) It looks like genie bundles lua 5.3.0, can this be removed since we have a lua 5.3 package? > + (file-name (git-file-name name version)) > + (sha256 > + (base32 > + "1fl00w4v2wigl2fypvnpzmny2x4f0adb7ncsn4a6w7gwxfxvl51j")))) > + (build-system gnu-build-system) > + (arguments > + `(#:phases > + (modify-phases %standard-phases > + (delete 'configure) Does CC need to be set to support cross-compilation like in premake4? (I haven't tested either way.) > + (replace 'install > + (lambda* (#:key outputs #:allow-other-keys) > + (let* ((outdir (assoc-ref outputs "out"))) > + (install-file "bin/linux/genie" (string-append outdir "/b= in"))) > + #t))) > + #:tests? #f)) ;; no tests There's a 'tests' folder in the source, so is this true? :) > + (home-page "https://github.com/bkaradzic/GENie") > + (synopsis "project generator tool") > + (description "GENie (pronounced as Jenny) is project generator too= l. ^ pronounced "Jenny" > +It automagically generates project from Lua script, Looking at the project description, perhaps "project files" or "project build scripts" would be more clear? As well as specifying the different systems (Makefile, ...) it supports. > +making applying the same settings for multiple projects easy..") extra period ^ > + (license license:bsd-3)))) According to LICENSE, the majority of the project is under BSD-3, but inspect.lua and profiler.lua are expat. -- Sarah