mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add ocaml-duration.
* gnu/packages/ocaml.scm (ocaml-duration): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
parent
c71552a562
commit
7d15ed9c82
1 changed files with 24 additions and 0 deletions
|
@ -3776,6 +3776,30 @@ mobile platforms. Code can be developed on a normal OS and then compiled into
|
||||||
a fully-standalone, specialised unikernel.")
|
a fully-standalone, specialised unikernel.")
|
||||||
(license license:isc)))
|
(license license:isc)))
|
||||||
|
|
||||||
|
(define-public ocaml-duration
|
||||||
|
(package
|
||||||
|
(name "ocaml-duration")
|
||||||
|
(version "0.2.1")
|
||||||
|
(source (origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri
|
||||||
|
(git-reference
|
||||||
|
(url "https://github.com/hannesm/duration/")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0vvxi0ipxmdz1k4h501brvccniwf3wpc32djbccyyrzraiz7qkff"))))
|
||||||
|
(build-system dune-build-system)
|
||||||
|
(native-inputs (list ocaml-alcotest))
|
||||||
|
(home-page "https://github.com/hannesm/duration")
|
||||||
|
(synopsis "Conversions to various time units")
|
||||||
|
(description
|
||||||
|
"This package provides a duration is represented in nanoseconds as an
|
||||||
|
unsigned 64 bit integer. This has a range of up to 584 years. Functions
|
||||||
|
provided check the input and raise on negative or out of bound input.")
|
||||||
|
(license license:isc)))
|
||||||
|
|
||||||
(define-public ocaml-ocurl
|
(define-public ocaml-ocurl
|
||||||
(package
|
(package
|
||||||
(name "ocaml-ocurl")
|
(name "ocaml-ocurl")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue