@@ -3156,6 +3156,30 @@ (define-public ocaml-thread-table
for associating thread specific state with threads within a domain.")
(license license:isc)))
+(define-public ocaml-domain-schims
+ (package
+ (name "ocaml-domain-schims")
+ (version "0.1.0")
+ (home-page "https://gitlab.com/gasche/domain-shims")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256 (base32
+ "0mxvzhxgcrvv0l99i4blag52v7g1knycwsh1xv9vkmh0rpwb147z"))))
+ (build-system dune-build-system)
+ (arguments `(#:package "domain_shims"))
+ (native-inputs (list))
+ (synopsis "A self-contained implementation of the Domain module for OCaml 4.")
+ (description "Domain is a new module of the OCaml 5 standard library that exposes
+the Multicore OCaml runtime's ability to run OCaml computations in parallel.
+With domain-shims, you can compile run code that was written for
+OCaml 5 using the Domain module under OCaml 4")
+ (license license:expat)))
+
(define ocaml-eio
(package
(name "ocaml-eio")