2021-08-27 14:25:00 +00:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage, ocaml }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
2021-02-05 17:12:51 +00:00
|
|
|
pname = "integers";
|
2021-08-27 14:25:00 +00:00
|
|
|
version = "0.5.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
useDune2 = lib.versionAtLeast ocaml.version "4.08";
|
|
|
|
|
2021-08-27 14:25:00 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ocamllabs";
|
|
|
|
repo = "ocaml-integers";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0by5pc851fk7ccxqy1w2qc5jwn9z8whyqhs5gxlm5986vr9msnyi";
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = {
|
|
|
|
description = "Various signed and unsigned integer types for OCaml";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
homepage = "https://github.com/ocamllabs/ocaml-integers";
|
2021-08-27 14:25:00 +00:00
|
|
|
changelog = "https://github.com/ocamllabs/ocaml-integers/raw/${version}/CHANGES.md";
|
2021-02-05 17:12:51 +00:00
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|