mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: Add ocaml-mtime.
* gnu/packages/ocaml.scm (ocaml-mtime): New variable. Signed-off-by: David Craven <david@craven.ch>
This commit is contained in:
parent
63147e5e1e
commit
eb1ba73185
1 changed files with 29 additions and 0 deletions
|
@ -1153,3 +1153,32 @@ (define-public ocaml-rresult
|
|||
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)))
|
||||
|
|
Loading…
Reference in a new issue