From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wLS+Ek8hKWFjEwEAgWs5BA (envelope-from ) for ; Fri, 27 Aug 2021 19:30:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id WL52Dk8hKWEiSwAAB5/wlQ (envelope-from ) for ; Fri, 27 Aug 2021 17:30:55 +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 ED66119EE3 for ; Fri, 27 Aug 2021 19:30:54 +0200 (CEST) Received: from localhost ([::1]:53478 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mJfgr-0006RA-9H for larch@yhetil.org; Fri, 27 Aug 2021 13:30:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51950) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJfg2-0006Ql-Qk for guix-patches@gnu.org; Fri, 27 Aug 2021 13:30:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41345) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mJfg2-0007FX-Jm for guix-patches@gnu.org; Fri, 27 Aug 2021 13:30:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mJfg2-0006YR-DO for guix-patches@gnu.org; Fri, 27 Aug 2021 13:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50229] [PATCH] gnu: Add genie Resent-From: Andy Tai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 27 Aug 2021 17:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50229 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50229@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163008539825157 (code B ref -1); Fri, 27 Aug 2021 17:30:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Aug 2021 17:29:58 +0000 Received: from localhost ([127.0.0.1]:52891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJffx-0006Xg-03 for submit@debbugs.gnu.org; Fri, 27 Aug 2021 13:29:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:56872) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJffs-0006XU-0W for submit@debbugs.gnu.org; Fri, 27 Aug 2021 13:29:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51922) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJffr-0006Ps-RR for guix-patches@gnu.org; Fri, 27 Aug 2021 13:29:51 -0400 Received: from mail-il1-x134.google.com ([2607:f8b0:4864:20::134]:33432) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mJffq-000764-0M for guix-patches@gnu.org; Fri, 27 Aug 2021 13:29:51 -0400 Received: by mail-il1-x134.google.com with SMTP id z2so7800217iln.0 for ; Fri, 27 Aug 2021 10:29:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=kQMdpf/qwMNfuhtAHoQlrOHkD2TgFgArd+Id2duOTYE=; b=VjsJ/jtDK4EXdZqFZI9AIdq2LKhrvnXYne6VO1/0lIcnZ0nomgjnyqgxqS65lKOv3m p6OTBmdHk7qpd6zWiA2VoLBLx2l+3jtSpM4b94aqO9lzCER6Gr6M0LiEHYFD+v6RyvRX 9YaDvWiMKoHF8mTPv+IjYfLqlN0Lhb2EkXcuUX+WoCHw+WmFIi2IaXXXGW91Csez9dxC ATTCn7VLmRHUlil3KHINksD7F77Hz5DNmkWwH+CWtRu6+YJNh7rPTNzROY0M3hzQniGw u7kC8QZb12qA6867Zp5Ku7sE/4LiTgvZsqa1vfUot1TPU9TEqZBDOJfLSg1F2vZ7hd4L MP8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=kQMdpf/qwMNfuhtAHoQlrOHkD2TgFgArd+Id2duOTYE=; b=ktsqgWzjaCfir+V/6LgquXvml4rahLGOCWF5adDlI+6d2coqkyx276j/wpBjKFs/dU 0pNL5zKCRy/121gE/mFyVLanNXJjUmRsFp/e6DQCQp17AXkp9EL3RlEJ3Y7cc7O+YspD KLIcZZWebP8IUkCEpPZQY2q3Oo8CjmJPNqE7gG7JhXZ3pWF+B66EuiuQKj2VioGcURPb CWl+Q3YgRRXw9+TlbgTSPg+mZMRq1Imtm1+n0np1XQg8mCG/aUCefRmtHAEBQufgBdfE xl5uJeuVTwFMRIJW40V1qwlxvFf8r9v7GT8f/tmvtpp4ZAtPCJovP4CyAIY12AjMr7dZ YJhg== X-Gm-Message-State: AOAM532EeN8oYiFyAev8QDSVLTEDK1F2B21aWDJjs4l4MvlCERGebhUd /+ashuAR+J3F8x5cfB9ZZ8B3X8/K0TlBobqWYJgWO/T8ydkP7w== X-Google-Smtp-Source: ABdhPJyc6v38Q0VEjTFVEOy7ctRM8UPBTJC0vH9ao9fiu68YWKOv1Phqjv0p9z+Doy7JINXUoRE4HJYV2ziP41QVatM= X-Received: by 2002:a05:6e02:148c:: with SMTP id n12mr7355325ilk.36.1630085388450; Fri, 27 Aug 2021 10:29:48 -0700 (PDT) MIME-Version: 1.0 From: Andy Tai Date: Fri, 27 Aug 2021 10:29:12 -0700 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::134; envelope-from=lichengtai@gmail.com; helo=mail-il1-x134.google.com 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630085455; h=from:from:sender:sender: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=kQMdpf/qwMNfuhtAHoQlrOHkD2TgFgArd+Id2duOTYE=; b=EcQIhix+AlSNiItSFjbC6sWvkeKM2RH5EvBkOAW0xUBMSP+UWoL5tnOQIO+bcIGce/xsST oQj+6hcQVZvHxw/FCGjO2wajPY2OMR8YKrzOxAR72IDKv1S02AGFxJ0TANidhFfbDnkg6E wJqhBPnkk1efyWlM/DLCVqUbUjLYRiL6SejhZ5tm9uZQ31IZ1Ro4aMGQHvELu663rTIre6 M4QD9VepPeCY0oO9jrbDdeX3X8EeLu4UXjbIVBwJMZANHOzfjhzKMJPruN9A+xbt59Pdv+ 6BBXAGNoK5FEuqF9KuBkxMPN/nJaJEUmpx2Jmlbp8L81LvhcxZAa+co6HpP1lQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630085455; a=rsa-sha256; cv=none; b=LEkRzRc2q9usY4ZsCcHp+2ntHb7LZPCGMqV75nlaJw3fNOqRM0ONpIZlQ55qE2taGxVGVb EiWrZB/4aF0rql1endo9fAZ7ljKGNq/qxizEjdvFJ8eF7AMb891sJ2PfOPR1aRNBk8ju8C Fwrd4SfJ5NP57qvV8LulyUt7jK/pLC9/0PVpXEaXpU6pASdJ4Bhwhph/YDMEjneVbKauc+ hJoRJ4X9X65wO6KuESrYNRTceRD87PfpcnKEGt8p2mLovlQEqcE2YwMF1K3w8Qob9grmNm 4wSyofKWUAfKzKI+R+N8yeNN+U+ehlblJf6SD5P6KUZ7W9n5mSayjgMCfTV1zw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b="VjsJ/jtD"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b="VjsJ/jtD"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: ED66119EE3 X-Spam-Score: -1.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: AsXHympRN4T1 * 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))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1fl00w4v2wigl2fypvnpzmny2x4f0adb7ncsn4a6w7gwxfxvl51j")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (delete 'configure) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((outdir (assoc-ref outputs "out"))) + (install-file "bin/linux/genie" (string-append outdir "/bin= "))) + #t))) + #:tests? #f)) ;; no tests + (home-page "https://github.com/bkaradzic/GENie") + (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..") + (license license:bsd-3)))) --=20 2.33.0