2021-03-03 08:25:06 +01:00
|
|
|
{ lib, fetchzip, buildDunePackage, ocaml }:
|
2017-07-11 23:11:53 +02:00
|
|
|
|
2019-10-22 07:47:54 +02:00
|
|
|
buildDunePackage rec {
|
2021-01-21 01:24:35 +01:00
|
|
|
pname = "integers";
|
|
|
|
version = "0.4.0";
|
2017-07-11 23:11:53 +02:00
|
|
|
|
2021-03-03 08:25:06 +01:00
|
|
|
useDune2 = lib.versionAtLeast ocaml.version "4.08";
|
|
|
|
|
2021-01-21 01:24:35 +01:00
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/ocamllabs/ocaml-integers/archive/${version}.tar.gz";
|
|
|
|
sha256 = "0yp3ab0ph7mp5741g7333x4nx8djjvxzpnv3zvsndyzcycspn9dd";
|
|
|
|
};
|
2017-07-11 23:11:53 +02:00
|
|
|
|
2021-01-21 01:24:35 +01: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 23:11:53 +02:00
|
|
|
}
|