From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +BBbN8TDPWN5SAAAbAwnHQ (envelope-from ) for ; Wed, 05 Oct 2022 19:49:56 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id UDJaN8TDPWPI1gAAauVa8A (envelope-from ) for ; Wed, 05 Oct 2022 19:49:56 +0200 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 92CFBF64C for ; Wed, 5 Oct 2022 19:49:56 +0200 (CEST) Received: from localhost ([::1]:48704 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1og8Wp-0001y8-1z for larch@yhetil.org; Wed, 05 Oct 2022 13:49:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33982) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1og8V5-0001gx-Tn for guix-patches@gnu.org; Wed, 05 Oct 2022 13:48:13 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58930) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1og8V0-00077U-K5 for guix-patches@gnu.org; Wed, 05 Oct 2022 13:48:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1og8V0-00077b-Fv for guix-patches@gnu.org; Wed, 05 Oct 2022 13:48:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58310] [PATCH 10/14] gnu: Add ocaml-atd. References: <87h70iqji2.fsf@disroot.org> In-Reply-To: <87h70iqji2.fsf@disroot.org> Resent-From: Garek Dyszel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 05 Oct 2022 17:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58310 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58310@debbugs.gnu.org Received: via spool by 58310-submit@debbugs.gnu.org id=B58310.166499204827230 (code B ref 58310); Wed, 05 Oct 2022 17:48:02 +0000 Received: (at 58310) by debbugs.gnu.org; 5 Oct 2022 17:47:28 +0000 Received: from localhost ([127.0.0.1]:58007 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1og8US-000758-63 for submit@debbugs.gnu.org; Wed, 05 Oct 2022 13:47:28 -0400 Received: from knopi.disroot.org ([178.21.23.139]:42186) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1og8UQ-000750-Bh for 58310@debbugs.gnu.org; Wed, 05 Oct 2022 13:47:26 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id C21534C694 for <58310@debbugs.gnu.org>; Wed, 5 Oct 2022 19:47:25 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oJQsJPABW1jg for <58310@debbugs.gnu.org>; Wed, 5 Oct 2022 19:47:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1664992044; bh=Adyc9qHO+hNUKMtpCoWOjRa+6PCzs4cEV6fXkvcOA1I=; h=From:To:Subject:Date; b=Dtb7grwLInZdvoDJZ6wxY0Kv98xQ228/HBDdPziMSlI4zjehlF4rXC0Q+n2816NN0 GOAu7At/T7w7mjT2w11tSm2l0uGAG4/y9E6M532LVtv4So/VQ02ynlD7VrCTu5QfaG otHyzVi7sSdfsPnQFbv+pXq6TvIZmaf6qAjLnHCHZrQ0UE4eYRktWwi/AHExaoAd0p gj46YEO1ywFGoNL2osLiqe9DuJAj2uZjINoY/OXQiwGZFf7A7VOulDDO/ym5zeUKFk 5fPIfBS0XC8oFi/3/s3UyLPHtAbGAFeYRiftxbTO/h3HMzRgpnO2PP2RK0QhJO4RYd okaxIQbTJqJ5A== Date: Wed, 05 Oct 2022 13:47:21 -0400 Message-ID: <87tu4ip3h2.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain 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: Garek Dyszel X-ACL-Warn: , Garek Dyszel via Guix-patches From: Garek Dyszel 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=1664992196; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=6oQALO4DR9k+2gTrV1LPKKIRMITNOyGbFyLbKeXnRw4=; b=ir+RbI//y6H5Rx6ysyVv4iroOxJqdRnZ9kSmd+jFOML+p/9oGs4Q30PNCqcfk2w0nj0Cta 9gtwLOQywQ9/GqVovyUjVa3c2dha+reL3X63ALSkqvQj1y99XULzrWf3ibsZna9U90fXDi 0nsNy/0oYmyEkeFeIV+l7Je9o71LMXmXHwGn5Jsf6gYaOkakgCIlrM3Zinwk9UMODaAC8K idGMNf2CgrtKIcD7m0WY7/98zv6HLGvYLMtWJfwWn0QdENNB3PZIoVofkQwC1r2jG2C8LY XVLRp7QQ2FRHdFg7/8IOfx8WSMve1o+bthwvH4UqsN16RqAWf5h/gIp82dbapA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664992196; a=rsa-sha256; cv=none; b=hb9E3+KZhlp9uRB51de784cIf72MzKZXUEZICYiWMuq/PMzCdFERn3AgL/kbbaTreB0EXy o2naOM5jO/g9Z/JyyZFNROmu/giM/NYi04wiciScBgFU99ntVD25jiEn4tKjKIMXTtLGpF 6XlFDkUc6RH5P+StTC1X869LYmn3wYbnk6Q8v82wDSF9dUOVkLlymIcDV1HpQJBeGaVF2C hYSEwSVVjS9WCIkfmCEiP/AOrju+9V0CoC5peKDyfLEsZR0NFLwOgJiPlB4oGQuVU5ZmJl Mp8+c+FqjAtiV8IZj4MIwb7VG4hoKcXHZlcoYeuv3pnlyS0BFtA01u4ir7mKew== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=Dtb7grwL; 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: -2.86 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=Dtb7grwL; 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: 92CFBF64C X-Spam-Score: -2.86 X-Migadu-Scanner: scn1.migadu.com X-TUID: zNM4DYQxzHsv diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 4bc159481e..bc876d60a1 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -4955,6 +4955,58 @@ (define-public ocaml-earley is also support for writing OCaml syntax extensions in a camlp4 style.") (license license:cecill-b))) +(define-public ocaml-atd + (package + (name "ocaml-atd") + (version "2.10.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ahrefs/atd") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "10fgahdigrl01py0k0q2d6a60yps38q96dxhjnzm9jz4g931716l")))) + (build-system dune-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + ;; The dune-build-system does not run "make test" but + ;; "dune runtest test --release". + ;; This project, rather, needs us to run "make test". + ;; + ;; For this package (ocaml-atd), we DO NOT run all the + ;; tests. The atd repository has resources for several + ;; different interfaces (python, scala, etc), but we + ;; don't need to run those tests if we are just + ;; interested in the ocaml interface. + ;; So we stick with just the ocaml tests here. + (when tests? + (invoke "make" "test-ocaml"))))))) + (propagated-inputs (list ocaml-menhir + ocaml-easy-format + ocaml-odoc + ocaml-re + ocaml-camlp-streams + ocaml-biniou + ocaml-yojson + ocaml-cmdliner)) + (native-inputs (list ocaml-alcotest + python-pypa-build + python-jsonschema-4.15 + python-flake8 + python-mypy + python-pytest)) + (inputs (list python)) + (home-page "https://github.com/ahrefs/atd") + (synopsis "Parser for the ATD data format description language") + (description + "ATD is an OCaml library providing a parser for the Adjustable Type +Definitions language.") + (license (license:non-copyleft "LICENSE.md")))) + (define-public ocaml-timed (package (name "ocaml-timed") -- 2.37.3