From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id BSetGifU6V9aegAA0tVLHw (envelope-from ) for ; Mon, 28 Dec 2020 12:48:39 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id ELz1FSfU6V+NJgAAB5/wlQ (envelope-from ) for ; Mon, 28 Dec 2020 12:48:39 +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 2102D9402A5 for ; Mon, 28 Dec 2020 12:48:39 +0000 (UTC) Received: from localhost ([::1]:42294 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ktrx0-0007ul-0l for larch@yhetil.org; Mon, 28 Dec 2020 07:48:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47342) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktrwY-0007MD-Ig for guix-patches@gnu.org; Mon, 28 Dec 2020 07:48:10 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51248) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ktrwU-000443-PC for guix-patches@gnu.org; Mon, 28 Dec 2020 07:48:10 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ktrwU-0003xH-Nh for guix-patches@gnu.org; Mon, 28 Dec 2020 07:48:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45498] [PATCH 11/12] gnu: Add ocaml-mdx. Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 28 Dec 2020 12:48:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45498 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45498@debbugs.gnu.org Received: via spool by 45498-submit@debbugs.gnu.org id=B45498.160915967515110 (code B ref 45498); Mon, 28 Dec 2020 12:48:06 +0000 Received: (at 45498) by debbugs.gnu.org; 28 Dec 2020 12:47:55 +0000 Received: from localhost ([127.0.0.1]:34549 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ktrwJ-0003vV-3y for submit@debbugs.gnu.org; Mon, 28 Dec 2020 07:47:55 -0500 Received: from mout01.posteo.de ([185.67.36.65]:41466) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ktrwB-0003tk-3K for 45498@debbugs.gnu.org; Mon, 28 Dec 2020 07:47:47 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id E152F160061 for <45498@debbugs.gnu.org>; Mon, 28 Dec 2020 13:47:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1609159659; bh=asme4Pamv7iZAYa3PZQTVIzFhnDSYdtZvxeLQpn/ob8=; h=From:To:Cc:Subject:Date:From; b=mbibDVX/YNoGuS9+O2ieRtnNQRKskL8XE7muTxSMBigb5/9nPzaYEmQUXAchpO63/ /bEzmMumMzxzj6z16dsKgsyPHpriMGDfbp2F7bv9pgn0TwNEy1TR0Uu9WDHGeW/NGb 0I3G6SQ/AFvA5CTldJkCmtyQmwoMtcZaUFohQ6sKbonKaRVvuvE/oCJ/EbEs7exLyO Wz+bwh18Nj7ImooghNcR+pv8+y/px8CTIlFL2CwI/BcgWUDM/giVmLA+n5SwH+rES9 FDRmfX9cTzXvqpGh1VIiL+BWn5QjCtjlXt2fCqopV2iEJgVCyaILHajIMHK7pp/uOr WytKtSxrUO2Yw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4D4HQ3460jz6tmG; Mon, 28 Dec 2020 13:47:39 +0100 (CET) From: pukkamustard Date: Mon, 28 Dec 2020 13:47:17 +0100 Message-Id: <20201228124718.24736-11-pukkamustard@posteo.net> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228124718.24736-1-pukkamustard@posteo.net> References: <20201228124718.24736-1-pukkamustard@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 X-Migadu-Spam-Score: 3.78 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=posteo.net header.s=2017 header.b=mbibDVX/; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (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: 2102D9402A5 X-Spam-Score: 3.78 X-Migadu-Scanner: scn0.migadu.com X-TUID: Ncy/mi69sdXn * gnu/packages/ocaml.scm (ocaml-mdx): New variable. --- gnu/packages/ocaml.scm | 49 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index c449b5a739..8d3a2e01f3 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -5896,6 +5896,55 @@ compiler, and enumerates the various official OCaml releases and configuration variants.") (license license:isc))) +(define-public ocaml-mdx + (package + (name "ocaml-mdx") + (version "1.7.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/realworldocaml/mdx") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "10avyv99xkfqdq3gmq8gps770jpibbfslg97sbhgmp0dpwikz49d")))) + (build-system dune-build-system) + (inputs + `(("ocaml-fmt" ,ocaml-fmt) + ("ocaml-astring" ,ocaml-astring) + ("ocaml-logs" ,ocaml-logs) + ("ocaml-cmdliner" ,ocaml-cmdliner) + ("ocaml-re" ,ocaml-re) + ("ocaml-result" ,ocaml-result) + ("ocaml-migrate-parsetree" ,ocaml-migrate-parsetree) + ("ocaml-odoc" ,ocaml-odoc) + ("ocaml-version" ,ocaml-version))) + (native-inputs + `(("ocaml-cppo" ,ocaml-cppo) + ("ocaml-lwt" ,ocaml-lwt) + ("ocaml-alcotest" ,ocaml-alcotest))) + (home-page + "https://github.com/realworldocaml/mdx") + (synopsis + "Executable code blocks inside markdown files") + (description + "@code{ocaml-mdx} allows to execute code blocks inside markdown files. +There are (currently) two sub-commands, corresponding +to two modes of operations: pre-processing (@code{ocaml-mdx pp}) +and tests (@code{ocaml-mdx test}]). + +The pre-processor mode allows to mix documentation and code, +and to practice @dfn{literate programming} using markdown and OCaml. + +The test mode allows to ensure that shell scripts and OCaml fragments +in the documentation always stays up-to-date. + +@code{ocaml-mdx} is released as two binaries called @code{ocaml-mdx} and +@code{mdx} which are the same, mdx being the deprecated name, kept for now for +compatibility.") + (license license:isc))) + (define-public lablgtk3 (package (name "lablgtk") -- 2.29.2