2022-12-02 08:20:57 +00:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage
|
|
|
|
, stdlib-shims
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
2021-02-05 17:12:51 +00:00
|
|
|
pname = "integers";
|
2022-12-02 08:20:57 +00:00
|
|
|
version = "0.7.0";
|
2021-03-09 03:18:52 +00:00
|
|
|
|
2021-08-27 14:25:00 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ocamllabs";
|
|
|
|
repo = "ocaml-integers";
|
|
|
|
rev = version;
|
2022-12-02 08:20:57 +00:00
|
|
|
sha256 = "sha256-zuUgP1jOiVT0q6GisGpkqx7nybWbARgnAcU8NYqvCzA=";
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-12-02 08:20:57 +00:00
|
|
|
propagatedBuildInputs = [ stdlib-shims ];
|
|
|
|
|
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
|
|
|
}
|