From patchwork Thu Oct 1 13:41:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Lepiller X-Patchwork-Id: 24414 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 6296927BBE9; Thu, 1 Oct 2020 14:50:45 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 2F53427BBE8 for ; Thu, 1 Oct 2020 14:50:45 +0100 (BST) Received: from localhost ([::1]:39594 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kNyyq-0004FJ-Bg for patchwork@mira.cbaines.net; Thu, 01 Oct 2020 09:50:44 -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 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" X-getmail-retrieved-from-mailbox: Patches * 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")