From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:42795) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iRl42-0005YF-Ab for guix-patches@gnu.org; Mon, 04 Nov 2019 17:43:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iRl40-0006lJ-74 for guix-patches@gnu.org; Mon, 04 Nov 2019 17:43:10 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:57127) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iRl40-0006kv-3o for guix-patches@gnu.org; Mon, 04 Nov 2019 17:43:08 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iRl3z-000182-Bp for guix-patches@gnu.org; Mon, 04 Nov 2019 17:43:07 -0500 Subject: [bug#38063] [PATCH 1/2] gnu: Add m2-planet. References: <87ftj3b71x.fsf@gnu.org> In-Reply-To: <87ftj3b71x.fsf@gnu.org> Resent-Message-ID: From: Jan Nieuwenhuizen Date: Mon, 4 Nov 2019 23:42:42 +0100 Message-Id: <20191104224243.19953-1-janneke@gnu.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 38063@debbugs.gnu.org * gnu/packages/mes.scm (m2-planet): New variable. --- gnu/packages/mes.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/mes.scm b/gnu/packages/mes.scm index 3174c0c115..55d731d876 100644 --- a/gnu/packages/mes.scm +++ b/gnu/packages/mes.scm @@ -204,3 +204,35 @@ get_machine.") ((#:make-flags _) `(list (string-append "PREFIX=" (assoc-ref %outputs "out")) "CC=gcc")))))) + +(define-public m2-planet + (let ((commit "1fc2aeab483208bd2ba117b21df3894c182470ec") + (revision "0")) + (package + (name "m2-planet") + (version (string-append "1.4.0-" revision "." (string-take commit 7))) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/oriansj/m2-planet.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1fj3xiqcibdfi78b43nn6w8hs3vkz32yb06n8r5mna8pnjdmn00l")))) + (native-inputs + `(("mescc-tools" ,mescc-tools))) + (build-system gnu-build-system) + (arguments + `(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))) + #:tests? #f + #:phases (modify-phases %standard-phases + (delete 'bootstrap) + (delete 'configure)))) + (synopsis "The PLAtform NEutral Transpiler") + (description + "M2-Planet, The PLAtform NEutral Transpiler, when combined with +mescc-tools compiles a subset of the C language into working binaries +with introspective steps inbetween.") + (home-page "https://github.com/oriansj/m2-planet") + (license gpl3+)))) -- 2.23.0