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 iCfSFBMh6l/NXwAA0tVLHw (envelope-from ) for ; Mon, 28 Dec 2020 18:16:51 +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 SF3HEBMh6l+EJAAAB5/wlQ (envelope-from ) for ; Mon, 28 Dec 2020 18:16:51 +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 09A1A9402A9 for ; Mon, 28 Dec 2020 18:16:51 +0000 (UTC) Received: from localhost ([::1]:43008 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ktx4c-000509-0K for larch@yhetil.org; Mon, 28 Dec 2020 13:16:50 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58782) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktx2x-0003gC-QW for guix-patches@gnu.org; Mon, 28 Dec 2020 13:15:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53538) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ktx2x-0006eg-Gg for guix-patches@gnu.org; Mon, 28 Dec 2020 13:15:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ktx2x-0000Fy-Bb for guix-patches@gnu.org; Mon, 28 Dec 2020 13:15:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45498] [PATCH v2 11/13] gnu: Add ocaml-mdx. Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 28 Dec 2020 18:15:07 +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.1609179305946 (code B ref 45498); Mon, 28 Dec 2020 18:15:07 +0000 Received: (at 45498) by debbugs.gnu.org; 28 Dec 2020 18:15:05 +0000 Received: from localhost ([127.0.0.1]:36842 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ktx2u-0000F6-Sh for submit@debbugs.gnu.org; Mon, 28 Dec 2020 13:15:05 -0500 Received: from mout01.posteo.de ([185.67.36.65]:35691) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ktx2Z-0000Bk-L7 for 45498@debbugs.gnu.org; Mon, 28 Dec 2020 13:14:44 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 1980616005F for <45498@debbugs.gnu.org>; Mon, 28 Dec 2020 19:14:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1609179278; bh=c7SrvkzGOuMWE9+xrYuRsaEbUolJ8cWRUiIQESgIZng=; h=From:To:Cc:Subject:Date:From; b=PQQe7umlIIiHBoeEcYboqYhOsenarT5NPWXZno1QvXBx7RSUvzG2qQpdWvRLcOqNJ +jHzxuhWOR8eZM7kvQSijTCIjmzV4+tHjAAnRzWptY9l5BJgnFvhKjfwpeb+dyV/ox 5rYNncqt5UEmeaT2UlWizwYbmmfr5Cd4nDRNGFgTuHV3+qjXC3pbonEwvs0AUh9w3m 2Nf0EXwnMRkBDipNh/jr6EQFQXg8GAnaLj2cQyUtHWnhAeVCNCni00+ZFL1gewxtTu EKaxLO27mS1VvBJdiWZiyjOGlvvbogYOKWUOByxHmQ3PUv60aX7o4IKBIfWEZexjLw QH1J2RY2rjBkQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4D4QgK4j4Lz6tm5; Mon, 28 Dec 2020 19:14:37 +0100 (CET) From: pukkamustard Date: Mon, 28 Dec 2020 19:14:12 +0100 Message-Id: <20201228181414.14196-11-pukkamustard@posteo.net> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228181414.14196-1-pukkamustard@posteo.net> References: <86pn2tn6mv.fsf@posteo.net> <20201228181414.14196-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=PQQe7uml; 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: 09A1A9402A9 X-Spam-Score: 3.78 X-Migadu-Scanner: scn1.migadu.com X-TUID: FBYFPz4FDRAj * 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 baebe2540f..385d96977e 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -5870,6 +5870,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