2021-03-03 07:25:06 +00:00
|
|
|
{ lib, fetchzip, buildDunePackage, ocaml }:
|
2017-07-11 22:11:53 +01:00
|
|
|
|
2019-10-22 06:47:54 +01:00
|
|
|
buildDunePackage rec {
|
2021-01-21 00:24:35 +00:00
|
|
|
pname = "integers";
|
|
|
|
version = "0.4.0";
|
2017-07-11 22:11:53 +01:00
|
|
|
|
2021-03-03 07:25:06 +00:00
|
|
|
useDune2 = lib.versionAtLeast ocaml.version "4.08";
|
|
|
|
|
2021-01-21 00:24:35 +00:00
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/ocamllabs/ocaml-integers/archive/${version}.tar.gz";
|
|
|
|
sha256 = "0yp3ab0ph7mp5741g7333x4nx8djjvxzpnv3zvsndyzcycspn9dd";
|
|
|
|
};
|
2017-07-11 22:11:53 +01:00
|
|
|
|
2021-01-21 00:24:35 +00:00
|
|
|
meta = {
|
|
|
|
description = "Various signed and unsigned integer types for OCaml";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
homepage = "https://github.com/ocamllabs/ocaml-integers";
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
|
|
};
|
2017-07-11 22:11:53 +01:00
|
|
|
}
|