guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

09/10: gnu: Add ocaml-mtime.


From: David Craven
Subject: 09/10: gnu: Add ocaml-mtime.
Date: Wed, 4 Jan 2017 16:41:24 +0000 (UTC)

dvc pushed a commit to branch master
in repository guix.

commit eb1ba731857ba6c65a4ad63211ad46e2358905bb
Author: Julien Lepiller <address@hidden>
Date:   Fri Dec 30 11:42:53 2016 +0100

    gnu: Add ocaml-mtime.
    
    * gnu/packages/ocaml.scm (ocaml-mtime): New variable.
    
    Signed-off-by: David Craven <address@hidden>
---
 gnu/packages/ocaml.scm |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 7c57c5a..8a14532 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -1153,3 +1153,32 @@ 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")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append 
"http://erratique.ch/software/mtime/releases/";
+                                  "mtime-" version ".tbz"))
+              (sha256
+               (base32
+                "1hfx4ny2dkw6jf3jppz0640dafl5xgn8r2si9kpwzhmibal8qrah"))))
+    (build-system ocaml-build-system)
+    (native-inputs
+     `(("opam" ,opam)))
+    (propagated-inputs
+     `(("topkg" ,ocaml-topkg)))
+    (arguments
+     `(#:tests? #f
+       #:build-flags
+       '("native=true" "native-dynlink=true" "jsoo=false")
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure))))
+    (home-page "http://erratique.ch/software/mtime";)
+    (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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]