From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id IJE4G1PidV+mdwAA0tVLHw (envelope-from ) for ; Thu, 01 Oct 2020 14:06:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id SELmFlPidV9legAAbx9fmQ (envelope-from ) for ; Thu, 01 Oct 2020 14:06:11 +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 C30659401BE for ; Thu, 1 Oct 2020 14:06:10 +0000 (UTC) Received: from localhost ([::1]:39594 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kNyys-0004FJ-8s for larch@yhetil.org; Thu, 01 Oct 2020 09:50:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54280) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNyxH-0002db-Py for guix-patches@gnu.org; Thu, 01 Oct 2020 09:49:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51657) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kNyxH-0002y6-G8 for guix-patches@gnu.org; Thu, 01 Oct 2020 09:49:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kNyxH-00020J-Fe for guix-patches@gnu.org; Thu, 01 Oct 2020 09:49:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43745] [PATCH 16/27] gnu: Add ocaml-stdlib-shims. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 01 Oct 2020 13:49:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43745 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43745@debbugs.gnu.org Received: via spool by 43745-submit@debbugs.gnu.org id=B43745.16015601097489 (code B ref 43745); Thu, 01 Oct 2020 13:49:07 +0000 Received: (at 43745) by debbugs.gnu.org; 1 Oct 2020 13:48:29 +0000 Received: from localhost ([127.0.0.1]:34937 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNywf-0001wd-Ap for submit@debbugs.gnu.org; Thu, 01 Oct 2020 09:48:29 -0400 Received: from lepiller.eu ([89.234.186.109]:51936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNywR-0001sY-9O for 43745@debbugs.gnu.org; Thu, 01 Oct 2020 09:48:15 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 9c7842df for <43745@debbugs.gnu.org>; Thu, 1 Oct 2020 13:48:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=oNhGVtr5/v96CYobu0vjyDPFF m7ZKP2Okh59BV01OkE=; b=DtlnMb07/2Zc85Usyh7b88aCxV9FHvRhpAyKuYQHR 9nRR32bcaVpOY3m2EmhA4W/AQUrsLZR/LxyNxwaeebMb3A08oXWDzaJbeqK4tSmP 4+N97MKog7xymiUKu61tuR8otzFRjQPTAap1SwrzmvDzLY/nvNzgsIqE3AxItyuL F2zfO2VhcGBQ52IMHjJ+W4eX5S4KmgMsm4x+gQkwQiDYxM33C9B5r86fgrrHxhQ4 gzgtV2QDUWvpdL5/krqKF/M7QxTL8zmz8pI+hsOAtrMrY3JoWK5FAfRQv8QlJpvO 11WNNELt/99BFv6sv52jJkvHb+FOzWhYX724/iwFGkmUg== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 028b458e (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <43745@debbugs.gnu.org>; Thu, 1 Oct 2020 13:48:09 +0000 (UTC) From: Julien Lepiller Date: Thu, 1 Oct 2020 15:41:22 +0200 Message-Id: <20201001134133.32105-16-julien@lepiller.eu> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201001134133.32105-1-julien@lepiller.eu> References: <20201001153909.296c8d3e@tachikoma.lepiller.eu> <20201001134133.32105-1-julien@lepiller.eu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=lepiller.eu header.s=dkim header.b=DtlnMb07; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (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-Spam-Score: 5.09 X-TUID: /LQMphDRVufU * gnu/packages/ocaml.scm (ocaml-stdlib-shims): New variable. --- gnu/packages/ocaml.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index aa9230cd9e..7f402e0a47 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -265,6 +265,30 @@ functional, imperative and object-oriented styles of programming.") for building OCaml library and programs.") (license license:lgpl2.1+))) +(define-public ocaml-stdlib-shims + (package + (name "ocaml-stdlib-shims") + (version "0.1.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ocaml/stdlib-shims") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1jv6yb47f66239m7hsz7zzw3i48mjpbvfgpszws48apqx63wjwsk")))) + (build-system dune-build-system) + (home-page "https://github.com/ocaml/stdlib-shims") + (synopsis "Backport of some of the new stdlib features to older OCaml") + (description "This package backports some of the new stdlib features to +older OCaml compiler, such as the Stdlib module. + +This allows projects that require compatibility with older compilers to +use these new features in their code.") + ;; Same as the OCaml compiler + (license (list license:qpl license:lgpl2.0)))) + (define-public ocaml-extlib (package (name "ocaml-extlib") -- 2.28.0