File ocaml-mtime.patch of Package ocaml-mtime
--- /dev/null
+++ b/dune-project
@@ -0,0 +1,2 @@
+(lang dune 1.0)
+(name mtime)
--- /dev/null
+++ b/src/clock/dune
@@ -0,0 +1,8 @@
+(library
+ (name mtime_clock)
+ (public_name mtime.clock.os)
+ (libraries mtime)
+ (modules mtime_clock)
+ (c_names mtime_clock_stubs)
+ (js_of_ocaml (javascript_files runtime.js))
+ (wrapped false))
--- /dev/null
+++ b/src/dune
@@ -0,0 +1,10 @@
+(library
+ (name mtime)
+ (public_name mtime)
+ (modules mtime)
+ (wrapped false))
+
+(library
+ (name mtime_clock_virtual)
+ (public_name mtime.clock)
+ (modules))
--- /dev/null
+++ b/src/top/dune
@@ -0,0 +1,6 @@
+(library
+ (name mtime_top)
+ (public_name mtime.top)
+ (libraries compiler-libs.toplevel mtime)
+ (modules mtime_top)
+ (wrapped false))