From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qLaJDUlCvmFe1gAAgWs5BA (envelope-from ) for ; Sat, 18 Dec 2021 21:19:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 8KUQCUlCvmHPFgAAbx9fmQ (envelope-from ) for ; Sat, 18 Dec 2021 20:19:21 +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 CC26C29EFC for ; Sat, 18 Dec 2021 21:19:20 +0100 (CET) Received: from localhost ([::1]:42090 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mygAq-0006tf-1B for larch@yhetil.org; Sat, 18 Dec 2021 15:19:20 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44276) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mygAY-0006tV-Hu for guix-patches@gnu.org; Sat, 18 Dec 2021 15:19:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60642) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mygAY-000570-9F for guix-patches@gnu.org; Sat, 18 Dec 2021 15:19:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mygAY-0003kX-2p for guix-patches@gnu.org; Sat, 18 Dec 2021 15:19:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52607] [PATCH] gnu: Add myrddin. Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 Dec 2021 20:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52607 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52607@debbugs.gnu.org Cc: Jorge Acereda , Guix Together , Raghav Gururajan X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163985869214352 (code B ref -1); Sat, 18 Dec 2021 20:19:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Dec 2021 20:18:12 +0000 Received: from localhost ([127.0.0.1]:43955 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myg9f-0003jN-Lk for submit@debbugs.gnu.org; Sat, 18 Dec 2021 15:18:11 -0500 Received: from lists.gnu.org ([209.51.188.17]:43740) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myg9d-0003jE-WD for submit@debbugs.gnu.org; Sat, 18 Dec 2021 15:18:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44190) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myg9d-0006rc-Rr for guix-patches@gnu.org; Sat, 18 Dec 2021 15:18:05 -0500 Received: from mx1.dismail.de ([78.46.223.134]:22647) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myg9b-00052t-5w for guix-patches@gnu.org; Sat, 18 Dec 2021 15:18:05 -0500 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 595b9728; Sat, 18 Dec 2021 21:17:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=20190914; bh=N5hYOSFz+K4kysA/EUTOM zfdLr0GnpL1S0/3XnJdYc4=; b=BSGMz68ebkizlnaW5qWetQVlaOX50I5FYImUY j0l/vpE/BvgkEjiDIhu6qpUlKISYMbW1X4ltxuh8Mr2Ch2tEh0mkD+hNgYCrcS63 Y8CjAPZDCfGXpVn7Lm3NtXGGEXeMxRsMVo3UqD5Nqg9chwXNwksdDswsBKnliC9L Fo+LkiBshhNwCyYvZHsQYzg5/BNDUkCTyJfwq68ISybzzWr4z34qNTlkp5VqHSzq R/vdeAL97YFJEjLimAoONOM6Nb9ADahNiiVDLq20og9yFRXH7bX13VJL13B+9Wl+ uYQi9OBIEO5ZVdggl3vEguKfTX2m3fcf0M9UwkX9Cz0ZhbzWw== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id f7803b03; Sat, 18 Dec 2021 21:17:51 +0100 (CET) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 46d14132; Sat, 18 Dec 2021 21:17:51 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 696ff5da (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sat, 18 Dec 2021 21:17:50 +0100 (CET) Date: Sat, 18 Dec 2021 15:16:36 -0500 Message-Id: <20211218201635.17995-1-jgart@dismail.de> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=78.46.223.134; envelope-from=jgart@dismail.de; helo=mx1.dismail.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, 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" Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches From: jgart 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=1639858760; h=from:from:sender:sender:reply-to: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=tvWN4o7y4+BegkH0DbcoyKtc7F258fDAXtRVV6etEV8=; b=eNYE2ejmJLDQQX94wZKlVgv+tsz0ibtdeTibLvJTdjD/xe3CkBB5LwAgLM9ed8DOJdjjOu aJ8Zl0nZi0f0Bvu1Nga7YwpglO/UigyeQt4PcqiArUPXlTvELhJMRQpwxJjjGelGGjPqo1 SJa5Dhux0r9MkJW8ROBRUbph5tRmXcz4rd8DpHrcJkFGSVADVbfR0S5eiYMVWtpw/XPE7g 7mcmgmaHN7aWUHc8+VHQbA4aC8PuIy2UTwbcZcc/Fji5yy3+FV6YAzdr7jVDd8hley5aRp r9nN0caB7lLPbQk7HY3RfvY+vYuK/XymRLNHxsKCaJHbMvgMmI4IJEi8pc+mHw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639858760; a=rsa-sha256; cv=none; b=kHBDgxRbDdCXiBrb5w+nRkH7KmkWoESuMlPjNQ1TjrmjkIcUeKSSgVQHl0X0MKzJZjfYl4 Lb0WZvWlPS5bun3Y+KllaJYoh2UPqCrM6jn31Rv34TNhGqHgl8LVbjroipWhx4PZRkygKo PzE1JwaEa0EI1vgO1zs053k4/pZ7GmiOF/iCMX/5rR6nWUrtxmrRqCJhzw8J4ABtOd8WjI +7nVq/MP0/9+S2bbLVC1QbVReRDVzHKLhPY9sqtwz1aQBsEz43/FYBrto2s3T+dhV3ob3H KGhmZBJfhc6/VDTnch5vexfzXe5oF584L4rfMMmkUumKfnQpaFiJF/mVgzcJcw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=BSGMz68e; 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: -5.11 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=BSGMz68e; 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: CC26C29EFC X-Spam-Score: -5.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1wEEh7BstLDf From: Guix Together Hi Guixers, This is one of the packages that we worked on in the packaging meetup today. all best, jgart * gnu/local.mk (GNU_SYSTEM_MODULES): Add myrddin.scm. * gnu/packages/myrddin.scm: New file. Co-authored-by: jgart Co-authored-by: Jorge Acereda Co-authored-by: Raghav Gururajan --- gnu/local.mk | 1 + gnu/packages/myrddin.scm | 66 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 gnu/packages/myrddin.scm diff --git a/gnu/local.mk b/gnu/local.mk index 76403bbdf9..7eb3eb3d33 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -411,6 +411,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/music.scm \ %D%/packages/musl.scm \ %D%/packages/mtools.scm \ + %D%/packages/myrddin.scm \ %D%/packages/nano.scm \ %D%/packages/ncdu.scm \ %D%/packages/ncurses.scm \ diff --git a/gnu/packages/myrddin.scm b/gnu/packages/myrddin.scm new file mode 100644 index 0000000000..0633fb4fb2 --- /dev/null +++ b/gnu/packages/myrddin.scm @@ -0,0 +1,66 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2021 Guix Together +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages myrddin) + #:use-module (guix build-system gnu) + #:use-module (guix utils) + #:use-module (guix download) + #:use-module (guix git-download) + #:use-module (gnu packages bison) + #:use-module (gnu packages pkg-config) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages)) + +(define-public myrddin + (package + (name "myrddin") + (version "0.3.1") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/oridb/mc") + (commit (string-append "r" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0acqqz74ypmjvi1yqz7g1ymyk3mmkzwqgmdd3s7s287bdy4a72gc")))) + (build-system gnu-build-system) + (arguments + `(#:make-flags + (list + (string-append "CC=" ,(cc-for-target)) + (string-append "PREFIX=" %output)) + #:phases + (modify-phases %standard-phases + (replace 'build + (lambda* (#:key make-flags #:allow-other-keys) + (apply invoke "make" "bootstrap" make-flags) + (apply invoke "make" make-flags)))))) + (native-inputs + (list bison pkg-config)) + (home-page "https://myrlang.org") + (synopsis "Systems language that is both powerful and fun to use") + (description +"Myrddin is a systems language that is both powerful and fun to +use. It aims for C like low level control, a lightweight high quality +implementation, and features you may find familiar from languages like +like rust and ocaml. This combination makes Myrddin suitable for anything +ranging from desktop applications, to embedded systems and potentially +even kernel development.") + (license license:expat))) -- 2.34.0