From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6JDXNpXCmGDzVgEAgWs5BA (envelope-from ) for ; Mon, 10 May 2021 07:20:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id OFRzMpXCmGD7bgAAB5/wlQ (envelope-from ) for ; Mon, 10 May 2021 05:20:21 +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 9A628BEBF for ; Mon, 10 May 2021 07:20:21 +0200 (CEST) Received: from localhost ([::1]:43906 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfyL6-0006Bd-Pt for larch@yhetil.org; Mon, 10 May 2021 01:20:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47034) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfyJD-0000V6-KB for guix-patches@gnu.org; Mon, 10 May 2021 01:18:23 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45567) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lfyJD-0003lI-Aw for guix-patches@gnu.org; Mon, 10 May 2021 01:18:23 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lfyJD-0000Xr-70 for guix-patches@gnu.org; Mon, 10 May 2021 01:18:23 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47768] [PATCH v2 43/43] gnu: Add ocaml-js-of-ocaml. Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 10 May 2021 05:18:23 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47768 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47768@debbugs.gnu.org Cc: pukkamustard , divoplade , Maxime Devos Received: via spool by 47768-submit@debbugs.gnu.org id=B47768.16206238911879 (code B ref 47768); Mon, 10 May 2021 05:18:23 +0000 Received: (at 47768) by debbugs.gnu.org; 10 May 2021 05:18:11 +0000 Received: from localhost ([127.0.0.1]:57083 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfyJ0-0000U3-Hr for submit@debbugs.gnu.org; Mon, 10 May 2021 01:18:11 -0400 Received: from mout02.posteo.de ([185.67.36.66]:33237) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfyIc-0000Nc-8O for 47768@debbugs.gnu.org; Mon, 10 May 2021 01:17:47 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id A61732400E5 for <47768@debbugs.gnu.org>; Mon, 10 May 2021 07:17:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1620623860; bh=4urm4Xjk7WnBDglcwVifBe63hEtPyAcJTr0MLHXOcSo=; h=From:To:Cc:Subject:Date:From; b=Ph2oK3Ek/aG7uI6Jm7G+Q0k0fqbT8oz0sFBSMd6HfZGijh/D576BJRkUAjgDMuvNf yfRqVyw6XaQ/BEOAx1ud0n3QIBtPkvEwKkX21RIK5F+2hL26i3JmspEj8gZF7MRycB 1BKesSJ4eheshRXHn7dZijBGWgbmbwV7yQK60X+aeAW0Y1hDAfl0nk5CRDLGeKj6yS 94wPjWSY0l52uCkY/ya6s4DNmSgR3soY9/4+K7y7nE3hSgwCseWB+wBGsSNPgMuk2t jMrs9ymKERK5nDYhquhGkZlL2TTLeDV6utl743oiS5SQk7diix2LR7owzPnLyN7Ezd nckxWq/m6hbVQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Fdq7S0BsHz9rxR; Mon, 10 May 2021 07:17:40 +0200 (CEST) From: pukkamustard Date: Mon, 10 May 2021 05:16:28 +0000 Message-Id: <20210510051628.15359-44-pukkamustard@posteo.net> In-Reply-To: <20210510051628.15359-1-pukkamustard@posteo.net> References: <20210414090800.6458-1-pukkamustard@posteo.net> <20210510051628.15359-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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620624021; h=from:from:sender:sender: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=kFkHU8Z1aA7JanPR30bp1UNZ1VUOwaBK6mehJS6V7Iw=; b=UgmXWNSbN9hnGJiAxQ6DzQh9NVusIr11r3Er64jtmmb25xP+Fwc60KnW0MtcKRIj8pX95i pAY8UipWdliAwXIqiTwtyaDB50fLdpudGyQsXN+KJSwDLDy5VjAB27tohXwvNV5KVyMdYB 2HXCkQmpObwwLi272BEuXBc6o2uU9gAYIRQ/LxvFlIm0WWBL2/v/pIscToBYwSXc6wA6Xj 9FTdT2TRhyyIOUE3wuIQUvjSFyzNfPDzY1LzkMahAKVlfiZFK698qyDCt53bxMlBV20/2W O1syeDZkF0UmM7rk7o0nScQj80Ztd5o1TNe2RBWCF9J8sim3M7Xz7TfC84uPNA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620624021; a=rsa-sha256; cv=none; b=P8YIuD3HdXT7cbdF/bz8fNxrWdp86HjzdqpjsEqZdPDGWomyVSZfeRcBlvvBkMZE3mWGEn u6nXUwEjIfl4WYRFvM4ejQoJuT4t733chD0NDJilj6+ntIzlrpKmh76Jha+chWMU5ofRie +uEmdas9nQhi/bq3M0Ml2tG84qRpe31az5RMtfxRM2Mj+LrqSVd2TT/ktMUwn2D8QWxbqH aTFmKaBsXvxoGYtl+1qEQLwMpgXr2B7NC6Quez2YgssWAfKbb9CvaVHyPafRk4oxTcWCF3 uzd3JdRLEtl1IjIRX8lpu84R/83oaVgSa6ZjxLb+C/7Pwp+HDPxdzHw+4b36tQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=Ph2oK3Ek; 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-Spam-Score: 3.65 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=Ph2oK3Ek; 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: 9A628BEBF X-Spam-Score: 3.65 X-Migadu-Scanner: scn0.migadu.com X-TUID: z44jqjNZFhir From: divoplade * gnu/packages/ocaml.scm (ocaml-js-of-ocaml): New variable. Co-Authored-By: pukkamustard --- gnu/packages/ocaml.scm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 349124c99e..24d9e814fa 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -61,6 +61,7 @@ #:use-module (gnu packages maths) #:use-module (gnu packages multiprecision) #:use-module (gnu packages ncurses) + #:use-module (gnu packages node) #:use-module (gnu packages pcre) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) @@ -6939,3 +6940,43 @@ Drawing takes place in a separate window that is created when Graphics.open_graph is called. This library used to be distributed with OCaml up to OCaml 4.08.") (license license:lgpl2.1+))) + +(define-public ocaml-js-of-ocaml + (package + (name "ocaml-js-of-ocaml") + (version "3.9.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ocsigen/js_of_ocaml") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "00hdjaj94j3nc6f6wbbpx59h4yc79siphs34i1hry11r56paaqyk")))) + (build-system dune-build-system) + (arguments `(#:test-target ".")) + (propagated-inputs + `(("ocaml-ppxlib" ,ocaml-ppxlib) + ("ocaml-uchar" ,ocaml-uchar) + ("ocaml-menhir" ,ocaml-menhir) + ("ocaml-reactivedata" ,ocaml-reactivedata) + ("ocaml-cmdliner" ,ocaml-cmdliner) + ("ocaml-lwt" ,ocaml-lwt) + ("ocaml-tyxml" ,ocaml-tyxml) + ("ocaml-re" ,ocaml-re) + ("ocaml-uutf" ,ocaml-uutf) + ("ocaml-graphics" ,ocaml-graphics) + ("ocaml-yojson" ,ocaml-yojson))) + (native-inputs + ;; for tests + `(("node" ,node) + ("ocaml-ppx-expect" ,ocaml-ppx-expect) + ("ocaml-num" ,ocaml-num))) + (properties `((upstream-name . "js_of_ocaml"))) + (home-page "https://ocsigen.org/js_of_ocaml/") + (synopsis "Compiler from OCaml bytecode to Javascript") + (description "Js_of_ocaml is a compiler from OCaml bytecode to JavaScript. +It makes it possible to run pure OCaml programs in JavaScript environment like +browsers and Node.js.") + (license license:lgpl2.1+))) -- 2.31.1