-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
42 lines (40 loc) · 1.18 KB
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
opam-version: "2.0"
maintainer: "sheets@alum.mit.edu"
authors: "David Sheets"
homepage: "https://github.com/dsheets/ocaml-unix-time"
bug-reports: "https://github.com/dsheets/ocaml-unix-time/issues"
license: "ISC"
tags: ["unix" "posix" "time.h" "tm" "timespec"]
dev-repo: "git+https://github.com/dsheets/ocaml-unix-time.git"
build: [
[make "build"]
[make "test"] {with-test}
]
install: [make "install"]
remove: [make "uninstall"]
depends: [
"ocaml"
"ocamlfind" {build}
"ocamlbuild" {build}
"alcotest" {with-test}
"unix-errno" {>= "0.4.0" & < "0.6.0"}
"ctypes"
]
depopts: "base-unix"
conflicts: [
"ctypes" {< "0.4.0"}
]
synopsis: "Unix time.h types, maps, and support"
description: """
unix-time provides access to the features exposed in time.h in a way
that is not tied to the implementation on the host system.
The Time module provides types which are analogous to those defined in
time.h such as timespec.
The Time_unix module provides a ctypes view for timespec."""
url {
src: "https://github.com/dsheets/ocaml-unix-time/archive/0.1.0.tar.gz"
checksum: [
"sha256=71cff11c95a9d6d341db52bc1175b975f4b98f47760e0bdd05a6945be0b928c9"
"md5=e53ba3b7ffee0605dc7975b7269f9efe"
]
}