[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#43745] [PATCH 16/27] gnu: Add ocaml-stdlib-shims.
From: |
Julien Lepiller |
Subject: |
[bug#43745] [PATCH 16/27] gnu: Add ocaml-stdlib-shims. |
Date: |
Thu, 1 Oct 2020 15:41:22 +0200 |
* 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
- [bug#43745] [PATCH 11/27] gnu: ocaml4.07-utop: Do not use deprecated jbuilder., (continued)
- [bug#43745] [PATCH 16/27] gnu: Add ocaml-stdlib-shims.,
Julien Lepiller <=
- [bug#43745] [PATCH 20/27] gnu: ocaml-fmt: Update to 0.8.9., Julien Lepiller, 2020/10/01
- [bug#43745] [PATCH 23/27] gnu: Add ocaml-csexp., Julien Lepiller, 2020/10/01
- [bug#43745] [PATCH 15/27] gnu: ocaml-tyxml: Do not use deprecated jbuilder., Julien Lepiller, 2020/10/01
- [bug#43745] [PATCH 17/27] gnu: opam: Update to 2.0.7., Julien Lepiller, 2020/10/01
- [bug#43745] [PATCH 22/27] gnu: ocaml-result: Update to 1.5., Julien Lepiller, 2020/10/01