From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id uO7WGDTE82YIMwAAqHPOHw:P1 (envelope-from ) for ; Wed, 25 Sep 2024 08:05:08 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id uO7WGDTE82YIMwAAqHPOHw (envelope-from ) for ; Wed, 25 Sep 2024 10:05:08 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="EjlE/keu"; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=lS7uqeaC; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1727251508; 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-transfer-encoding:content-transfer-encoding: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=HhIQuZlwCfYk0bCvrA4Jdi7RV/Y54lF+dY8B3EdfZUE=; b=ShezQ+1/0q5yHD/BsbxYZ069lt/BYXDF/W1lfVQI+knDnxiR8AVagz5IPXOcvn6DXG5MEN irfUayn0rn9pSJ4mCmMy3wMAQqBA9iB6d48WBxbb+6SA5OIueO4IVkSBrZEm+KCO13/Tbj 3No++m0c24r6pZxCCfQn/lzbTpeM1FmebxCQ566A0OesQF3VR7WDUo+DNgJw1G4cqSeDS2 aEMJpm4XcdzwRF9REdDB5wVMJM1evpcZRpPEdJexfZfDRCWhrI5vobpoNCVVk6ex2v90q2 KihaagUbTEgQdAO0FTuwzZYN4Etnv+EOvF6+nuTwdMdCxZXMaalH3DPzJpWAqA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="EjlE/keu"; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=lS7uqeaC; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1727251508; a=rsa-sha256; cv=none; b=D4oR2EYpAY/WjZM+Vez1reTnsaDfX+QpdZXtJ21s97CqaD+ZDIxN/t5s9Pro8lggGDENt1 qkBglh/Ex4PVywXroAI50wMJdWYt4TRxy82Ujnlhe0PhuT1VbPc7910YinZka5vUt4Xbqp c8PFhDci8hca+nETiD728cegVLbt1v5S5eA2/RZCA1WBbRh/wxUTOszZrtg290v6H9nBDa 1Hd4ylGjpAFNM8vNFiKoBQxZuJTXeR7Rx7i+mqWqhHm5PAwVPD9EFQ7Ow/Ktj2y4kljiYC nHYWRTBmQg5+hKNZQf7NRRiW2MxHS7d5eiz1SjWp1l90ud8441K8t3zqpqztJw== 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 4BC1A7A310 for ; Wed, 25 Sep 2024 10:05:08 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1stN0w-0005ex-4i; Wed, 25 Sep 2024 04:04:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1stN0q-0005bO-NA for guix-patches@gnu.org; Wed, 25 Sep 2024 04:04:40 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1stN0q-0004SZ-DQ for guix-patches@gnu.org; Wed, 25 Sep 2024 04:04:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=HhIQuZlwCfYk0bCvrA4Jdi7RV/Y54lF+dY8B3EdfZUE=; b=EjlE/keus2LWGz1vj+cvipNAdG3OB9v8nkq6XKNVE5oOZcRzW+RDhi/5YsZ7Ap+GZmLdn7ErlKmJh1IW2KBXiMJ3eVzyeMH3Ku7JhvB2CMk5KV+N5i6AdtTzOQtChE82wN1ZMawVGNUo3vRtke4BVeIkMHYAFjxYO6m8MKw0gQDUeTC1iG5OIlivptUD85+cZ6/cw106Ibg+WiWe0M8VecUIOrTH5Vrtw6E2DPxOBNPoJChb6+pNdFhEwNyruZS1b3i5lv/VJ47K55zUPeH0eNsPd3QlWYgTG8+7oIXDpIq/qDQLbltbe5Q09i61/KhTE620Aclc7dqAul/53l8Qpg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1stN1F-0003oj-9D; Wed, 25 Sep 2024 04:05:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73466] [PATCH 10/16] gnu: Add ocaml-json-data-encoding. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: julien@lepiller.eu, pukkamustard@posteo.net, guix-patches@gnu.org Resent-Date: Wed, 25 Sep 2024 08:05:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73466 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73466@debbugs.gnu.org Cc: Julien Lepiller , pukkamustard X-Debbugs-Original-Xcc: Julien Lepiller , pukkamustard Received: via spool by 73466-submit@debbugs.gnu.org id=B73466.172725148514521 (code B ref 73466); Wed, 25 Sep 2024 08:05:05 +0000 Received: (at 73466) by debbugs.gnu.org; 25 Sep 2024 08:04:45 +0000 Received: from localhost ([127.0.0.1]:44716 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stN0v-0003m3-Db for submit@debbugs.gnu.org; Wed, 25 Sep 2024 04:04:45 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:41095 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stN0g-0003jX-V8 for 73466@debbugs.gnu.org; Wed, 25 Sep 2024 04:04:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1727251434; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HhIQuZlwCfYk0bCvrA4Jdi7RV/Y54lF+dY8B3EdfZUE=; b=lS7uqeaChaovGIdFnS3H/n+wiwul8v7coQR+0uoXzf5UleyWtvOe4uKWhFqBnqGsv8LbDY /8CueVJUobGErY/t7JeGcCUAnrPEZFHyeAdbmdQyXkvuD9Z1jTm83y87HmoX2eCO88yMkj YxQItvZ7FqTWeNYIFJEh5510a7pOx05ginWxYlaCljTrUlalsuoX1E4M3SQnUgAaJjN0YO 4bBRN01k5xFjxQ7/EPoY5vwTe1bY9FpdlcCl6GK9KQxlNXmlwcV+uAEEQK747qn3JYITXX JAEWu1m4pLyS6wGLsHVkuifjK7VVS6NbzHePdbDnaWNu/cnvQD2nEksy5jZrSg== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 4529ec54 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <73466@debbugs.gnu.org>; Wed, 25 Sep 2024 08:03:54 +0000 (UTC) Date: Wed, 25 Sep 2024 10:03:06 +0200 Message-ID: <9f6968f63514a9a6367104b2550734bcc2d3b607.1727250772.git.herman@rimm.ee> X-Mailer: git-send-email 2.45.2 In-Reply-To: <2a9cc50a22ef14c84d7a5479e10ff42e9efa5ba1.1727250772.git.herman@rimm.ee> References: <2a9cc50a22ef14c84d7a5479e10ff42e9efa5ba1.1727250772.git.herman@rimm.ee> 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: , Reply-to: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches From: Herman Rimm via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 4BC1A7A310 X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -6.52 X-Migadu-Spam-Score: -6.52 X-TUID: +QYvuObmEYvf * gnu/packages/ocaml.scm (ocaml-json-data-encoding): Add variable. Change-Id: I1d37ed62753c07dfd6ed0cbc3a5ac80ab0da6fae --- gnu/packages/ocaml.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 651d351bd1..329b28ef84 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -4202,6 +4202,35 @@ (define-public ocaml-js-of-ocaml-compiler ;; LGPL 2.1 or later with OCaml LGPL linking exception. (license (list license:gpl2+ license:lgpl2.1+)))) +(define-public ocaml-json-data-encoding + (package + (name "ocaml-json-data-encoding") + (version "1.0.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://gitlab.com/nomadic-labs/" + "data-encoding/-/archive/v" version + "/data-encoding-v" version ".tar.gz")) + (sha256 + (base32 "1mhzij8g8bkqq73gazhbbgn555qh68dllk1r0x479y2wyz9nsvgj")))) + (build-system dune-build-system) + (propagated-inputs (list ocaml-uri ocaml-hex ocamlformat ocaml-odoc)) + (inputs (list gmp node)) + (native-inputs (list ocaml-alcotest + ocaml-crowbar + ocaml-ezjsonm + ocaml-js-of-ocaml-compiler + ocaml-ppx-expect + ocaml-ppx-hash + ocaml-zarith + ocaml-zarith-stubs-js)) + (home-page "https://gitlab.com/nomadic-labs/json-data-encoding") + (synopsis "Type-safe encoding to and decoding from JSON") + (description + "This package provides type-safe JSON encoding and decoding.") + (license license:expat))) + (define-public ocaml-jsonm (package (name "ocaml-jsonm") -- 2.45.2