From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id gOqJFS4CamQ4KAAASxT56A (envelope-from ) for ; Sun, 21 May 2023 13:36:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id QORwFS4CamT7WAEA9RJhRA (envelope-from ) for ; Sun, 21 May 2023 13:36:14 +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 E322425B99 for ; Sun, 21 May 2023 13:36:13 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q0hM4-0002Eq-Fs; Sun, 21 May 2023 07:36:04 -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 1q0hM2-0002ER-6o for guix-patches@gnu.org; Sun, 21 May 2023 07:36:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q0hM1-0008WD-UN for guix-patches@gnu.org; Sun, 21 May 2023 07:36:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q0hM1-0001qi-Lg for guix-patches@gnu.org; Sun, 21 May 2023 07:36:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63609] [PATCH 2/4] gnu: Add ocaml-stdcompat. Resent-From: Jean-Pierre De Jesus DIAZ Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 21 May 2023 11:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63609 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63609@debbugs.gnu.org Cc: Jean-Pierre De Jesus DIAZ Received: via spool by 63609-submit@debbugs.gnu.org id=B63609.16846689197026 (code B ref 63609); Sun, 21 May 2023 11:36:01 +0000 Received: (at 63609) by debbugs.gnu.org; 21 May 2023 11:35:19 +0000 Received: from localhost ([127.0.0.1]:60142 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0hLK-0001pF-GQ for submit@debbugs.gnu.org; Sun, 21 May 2023 07:35:19 -0400 Received: from mail-wm1-f50.google.com ([209.85.128.50]:51283) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0hLI-0001ox-Ci for 63609@debbugs.gnu.org; Sun, 21 May 2023 07:35:16 -0400 Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-3f4ad71b00eso29954685e9.2 for <63609@debbugs.gnu.org>; Sun, 21 May 2023 04:35:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundationdevices.com; s=google; t=1684668910; x=1687260910; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=EpvFrOMssMU9rdA2LTMeJ5oa+9utVbe5vxFkQ1rj+yw=; b=NN6DJL5Al+CikK0eXJjWRTB47vPzxE7vz+oH7JTd0/bTd2rUseYksCgdS2TW3wwBwE HWZ0gaRurQerD/2ocLap1OxlJlsVLgXQXHmnLSC31u9PRrtJJ0kCs2sUruW7+den3Kbk UQ153sWTatmKdkVcDRkj8yle9UgUUA+/RI+HkztIuwi74le36TxadnSlRM/eONjveeeD wN8gM4uWC+WcEl7XllSDgVrDOA7DTphpcD0hr4wUPcLkQbNcc7I/vL2NTqT1c+/p+Q5H SrA4ALgueIQrkubL1u1RvEV8Htjf4kFfUuDOvluijQhQAvFeTYDuU2T4z94CcEb/6eD6 bQgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684668910; x=1687260910; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EpvFrOMssMU9rdA2LTMeJ5oa+9utVbe5vxFkQ1rj+yw=; b=jmYm6MFiGPdIBCepOIMd/n74Y74NxQY72rt34cXCgwamB+VwSHOA4b50wBSbfh50rd QjMUw/w/Hg/RfhYWd05h1yHfC6LN4RhOWk280RzVkrqdtW/0naHPoEol4SB2hb1hX8qq LwCWtV81acW4XS+/s5zM3yYJvmfypQ+l7+6r4jicMFGFR/kpNI2LR1aYGa0e587PtDYL tY7cipsET8VTxOVAabQAYNKgAcXOHL2NVDmNxyFwGi1c3LcsEZu3bxI3S0AQAN7WmpxS obAnIh0dvsbwiHQEaeR6WER5/JUXT8q6+YoeFLgPUYplZARsz4Mz5j51ev9t8s9f35nN fk9w== X-Gm-Message-State: AC+VfDyov9qCy28T1TFB7hZOzAcIsAuINq8KTxHYwhOVf5kks+Vn8MR6 JCmNe3pN/xAFF5WX9s2H5ap1Pd087gL8+qvH2SIDEw== X-Google-Smtp-Source: ACHHUZ7K3NS/+l36qG6eYbtbR7+yXqWerCkiUy/d+LdV+0WlVcgVW6RjvnnKi09Sn0r4ozn8ugkCDQ== X-Received: by 2002:a7b:ce15:0:b0:3f5:ff24:27de with SMTP id m21-20020a7bce15000000b003f5ff2427demr2255812wmc.32.1684668910489; Sun, 21 May 2023 04:35:10 -0700 (PDT) Received: from omen15.home ([89.131.29.87]) by smtp.gmail.com with ESMTPSA id l20-20020a7bc454000000b003f42e008c8dsm8153124wmi.44.2023.05.21.04.35.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 May 2023 04:35:10 -0700 (PDT) Date: Sun, 21 May 2023 13:34:15 +0200 Message-Id: <20230521113417.76939-2-jean@foundationdevices.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230521113417.76939-1-jean@foundationdevices.com> References: <20230521113417.76939-1-jean@foundationdevices.com> 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: Jean-Pierre De Jesus DIAZ X-ACL-Warn: , Jean-Pierre De Jesus DIAZ via Guix-patches From: Jean-Pierre De Jesus DIAZ 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684668974; a=rsa-sha256; cv=none; b=rRsbTXsfInq/M52c7Q75NuWHa4uWpo7pbEGAr8iVHjuGjaDxNKx9/fX+IXxM4KtSaT/jy5 53b+RYvQCLs15unDv8RYe+q3dL/mOgJkCnAK1tdFKOTxSHudb+/4LQnH0/mBZi7Ig3dVuM GZvFaFiK/VeIAhWrbSBhCyMwn67HH5w7JMvfMI6gDiG33zjHcOy0Yz8js0a9InjD5GnQrV WEZE0jQ/vJX3V1ufI5/kXSlCUTW7MRz4jzVV49fv8K7OQ52IHb2Cm9CNjNyk/Rj/n6HS6i RrAC97JDwWb3wzIHfN2vjSo2sGzSMz0EpXRag3NcOIY4aRXRyDs5D0SKATJCzw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=foundationdevices.com header.s=google header.b=NN6DJL5A; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1684668974; 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=EpvFrOMssMU9rdA2LTMeJ5oa+9utVbe5vxFkQ1rj+yw=; b=EoAgN4xLL2CHz36Oq/iSNZ2AVpp/omp/VPpDihXFyH4SrFip7cub5hC8/k3qWYOt5WjGPE brCe9F9Bm4F1QrUmNUsN3UD/xfyjodrcFKtQQUZdA5/sVf78qmsYnv57VJ2/xqsSgAtVV7 0YjxIb+f8D9w3n/HpiHWjXeOZFqQO2s54VDk8lAsnRFKyVQL7aj/DkEKbog9vQhOp0cPCN dh8kQbxKJtzdi2G36JzlAcjK4Yj+DIBdDf7b1MDTpxz3uaUgCGHnsvuZGibAPNQoCjmH9Q LlHEQzQMBPXrP4ILbovSpdEi9ePYHQ8Trodac1lBlZfIrBQ79etvkGe+q4MSyA== X-Migadu-Spam-Score: -4.07 X-Spam-Score: -4.07 X-Migadu-Queue-Id: E322425B99 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=foundationdevices.com header.s=google header.b=NN6DJL5A; 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-TUID: gcHnPDcMl6yL * gnu/packages/ocaml.scm (ocaml-stdcompat): New variable. Signed-off-by: Jean-Pierre De Jesus DIAZ --- gnu/packages/ocaml.scm | 46 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 08036ba401..0656abb610 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -4606,6 +4606,52 @@ (define-public ocaml-expect or a timeout.") (license license:lgpl2.1+))) ; with the OCaml static compilation exception +(define-public ocaml-stdcompat + (package + (name "ocaml-stdcompat") + (version "19") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/thierry-martinez/stdcompat") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (modules '((guix build utils))) + (snippet + #~(for-each delete-file '("Makefile.in" "configure"))) + (sha256 + (base32 + "0r9qcfjkn8634lzxp5bkagzwsi3vmg0hb6vq4g1p1515rys00h1b")))) + (build-system dune-build-system) + (arguments + (list #:imported-modules `((guix build gnu-build-system) + ,@%dune-build-system-modules) + #:modules '((guix build dune-build-system) + ((guix build gnu-build-system) #:prefix gnu:) + (guix build utils)) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'bootstrap + (assoc-ref gnu:%standard-phases 'bootstrap)) + (add-before 'build 'prepare-build + (lambda _ + (let ((bash (which "bash"))) + (setenv "CONFIG_SHELL" bash) + (setenv "SHELL" bash))))))) + (native-inputs + (list autoconf + automake + ocaml + ocaml-findlib)) + (home-page "https://github.com/thierry-martinez/stdcompat") + (synopsis "Compatibility module for OCaml standard library") + (description + "Compatibility module for OCaml standard library allowing programs to use +some recent additions to the standard library while preserving the ability to +be compiled on former versions of OCaml.") + (license license:bsd-2))) + (define-public ocaml-stdlib-shims (package (name "ocaml-stdlib-shims") -- 2.34.1