[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 20/96] gnu: Add ocaml-mtime
From: |
Julien Lepiller |
Subject: |
[PATCH 20/96] gnu: Add ocaml-mtime |
Date: |
Tue, 3 Jan 2017 20:11:01 +0100 |
* gnu/packages/ocaml.scm (ocaml-mtime): New variable.
---
gnu/packages/ocaml.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index fea3ebda0..e971e72d0 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -1099,3 +1099,28 @@ declarative manner, without resorting to exceptions. It
defines combinators
to operate on the result type available from OCaml 4.03 in the standard
library.")
(license license:isc)))
+
+(define-public ocaml-mtime
+ (package
+ (name "ocaml-mtime")
+ (version "0.8.3")
+ (home-page "http://erratique.ch/software/mtime")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append home-page "/releases/mtime-" version ".tbz"))
+ (sha256
+ (base32
+ "1hfx4ny2dkw6jf3jppz0640dafl5xgn8r2si9kpwzhmibal8qrah"))))
+ (build-system ocaml-build-system)
+ (arguments `(#:tests? #f
+ #:build-flags (list "native=true" "native-dynlink=true"
+ "jsoo=false")
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure))))
+ (native-inputs `(("opam" ,opam)))
+ (propagated-inputs `(("topkg" ,ocaml-topkg)))
+ (synopsis "Monotonic wall-clock time for OCaml")
+ (description "access monotonic wall-clock time. It allows to measure time
+spans without being subject to operating system calendar time adjustments.")
+ (license license:isc)))
--
2.11.0
- Re: [PATCH 09/96] gnu: Add camlzip, (continued)
- [PATCH 11/96] gnu: Add ocaml-zarith., Julien Lepiller, 2017/01/03
- [PATCH 12/96] gnu: Add ocaml-frontc, Julien Lepiller, 2017/01/03
- [PATCH 13/96] gnu: Add ocaml-qtest, Julien Lepiller, 2017/01/03
- [PATCH 14/96] gnu: Add ocaml-stringext, Julien Lepiller, 2017/01/03
- [PATCH 15/96] gnu: Add ocaml-bisect, Julien Lepiller, 2017/01/03
- [PATCH 17/96] gnu: Add ocaml-result, Julien Lepiller, 2017/01/03
- [PATCH 16/96] gnu: Add ocaml-bitstring, Julien Lepiller, 2017/01/03
- [PATCH 18/96] gnu: Add ocaml-topkg, Julien Lepiller, 2017/01/03
- [PATCH 19/96] gnu: Add ocaml-rresult, Julien Lepiller, 2017/01/03
- [PATCH 20/96] gnu: Add ocaml-mtime,
Julien Lepiller <=
- [PATCH 21/96] gnu: Add ocaml-cmdliner, Julien Lepiller, 2017/01/03
- [PATCH 22/96] gnu: Add ocaml-fmt, Julien Lepiller, 2017/01/03
- [PATCH 23/96] gnu: Add ocaml-astring, Julien Lepiller, 2017/01/03
- [PATCH 24/96] gnu: Add ocaml-alcotest, Julien Lepiller, 2017/01/03
- [PATCH 25/96] gnu: Add ocaml-ppx-tools, Julien Lepiller, 2017/01/03
- [PATCH 26/96] gnu: Add ocaml-react, Julien Lepiller, 2017/01/03
- [PATCH 27/96] gnu: Add ocaml-ssl, Julien Lepiller, 2017/01/03
- [PATCH 28/96] gnu: Add ocaml-lwt, Julien Lepiller, 2017/01/03
- [PATCH 29/96] gnu: Add ocaml-logs, Julien Lepiller, 2017/01/03
- [PATCH 30/96] gnu: Add ocaml-fpath, Julien Lepiller, 2017/01/03