From patchwork Fri Sep 2 15:20:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Garek Dyszel X-Patchwork-Id: 42147 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8813C27BBEA; Fri, 2 Sep 2022 16:25:11 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 40CBD27BBE9 for ; Fri, 2 Sep 2022 16:25:11 +0100 (BST) Received: from localhost ([::1]:59680 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oU8Xe-0008Cx-EI for patchwork@mira.cbaines.net; Fri, 02 Sep 2022 11:25:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oU8XW-0008Cm-6a for guix-patches@gnu.org; Fri, 02 Sep 2022 11:25:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57713) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oU8XV-0006SR-U1 for guix-patches@gnu.org; Fri, 02 Sep 2022 11:25:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oU8XV-0007x2-QI for guix-patches@gnu.org; Fri, 02 Sep 2022 11:25:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57540] [PATCH 1/6] gnu: Add ocaml-atd. References: <79d544f7d8ba64b631a6f0f1d2ef0b08@disroot.org> In-Reply-To: <79d544f7d8ba64b631a6f0f1d2ef0b08@disroot.org> Resent-From: Garek Dyszel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 02 Sep 2022 15:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57540 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57540@debbugs.gnu.org Received: via spool by 57540-submit@debbugs.gnu.org id=B57540.166213228330536 (code B ref 57540); Fri, 02 Sep 2022 15:25:01 +0000 Received: (at 57540) by debbugs.gnu.org; 2 Sep 2022 15:24:43 +0000 Received: from localhost ([127.0.0.1]:47462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oU8XC-0007wS-WF for submit@debbugs.gnu.org; Fri, 02 Sep 2022 11:24:43 -0400 Received: from knopi.disroot.org ([178.21.23.139]:58560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oU8XA-0007wI-Pf for 57540@debbugs.gnu.org; Fri, 02 Sep 2022 11:24:41 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id A4BAB4A003 for <57540@debbugs.gnu.org>; Fri, 2 Sep 2022 17:24:38 +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 UTF8SMTP id to9GYjdDdmek for <57540@debbugs.gnu.org>; Fri, 2 Sep 2022 17:24:37 +0200 (CEST) Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1662132016; bh=0fGSc3mViFS0zq+YTDeCrYII5Ga01LXKBrnpKDNms/8=; h=Date:From:To:Subject; b=OMl/unqGRiPZtQvt6cwu2V/waMI55ZVzgY4S906CkzG/bkNTxPH5K4aJLj6oDs4V5 Jev44PSgs1ZMhMNSVZXzBWTZePGnITBsXOQ+XaRMlFREO1iCrxMy4Ois10JH/DaQap R49LlTEdqpZ+NxP4ta8zVmhgNEryz1JEXBWmGjYVem0S9Cqh1T7bOHRDRZAcvLVCdY tAQeVFiLbZnfGewqaxGkZ8xQ86tNNWCkxI47D0midJkjKQnEeikQOkO42+myqKhSpi 6noQGcpXU8+7B5ll+nvTbWsTr0JME8T2tpexw9+9VShfYl0iB9bghcx5Id+mi/nGjy l062tuaesFJ+A== Date: Fri, 02 Sep 2022 11:20:15 -0400 Message-ID: <608b4f6bdcbd56e28ba9ab0c34401790@disroot.org> X-Sender: garekdyszel@disroot.org 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Garek Dyszel X-ACL-Warn: , Garek Dyszel via Guix-patches X-Patchwork-Original-From: Garek Dyszel via Guix-patches via From: Garek Dyszel X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ocaml.scm (ocaml-atd) --- gnu/packages/ocaml.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) +good fit with a variety of data formats.") + ;; Modified BSD license + (license (license:non-copyleft "LICENSE.md")))) -- 2.37.2 diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 59f324e..c8ffef5 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -8843,3 +8843,38 @@ (define-public ocaml-elpi ELPI is free software released under the terms of LGPL 2.1 or above.") (license license:lgpl2.1))) +(define-public ocaml-atd + (package + (name "ocaml-atd") + (version "2.10.0") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/ahrefs/atd/releases/download/" version + "/atdts-" version ".tbz")) + (sha256 + (base32 + "1609hlj2snpvxnmmg892ic01hv3chdhfmsd2khdw9np9lh4p9lkp")))) + (build-system dune-build-system) + (arguments + `(;; Error: Don't know about directory test specified on the command line! + #:tests? #f)) + (propagated-inputs (list ocaml-menhir + ocaml-easy-format + ocaml-odoc + ocaml-re + ocaml-camlp-streams + ocaml-biniou + ocaml-yojson + ocaml-cmdliner + ocaml-menhir)) + (native-inputs (list ocaml-alcotest python)) + (home-page "https://github.com/ahrefs/atd") + (synopsis "Parser for the ATD data format description language") + (description + "ATD is the OCaml library providing a parser for the ATD language +and various utilities. ATD stands for Adjustable Type Definitions in +reference to its main property of supporting annotations that allow a