2020-04-24 23:36:52 +00:00
|
|
|
{ lib, buildDunePackage, fetchurl }:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
minimumOCamlVersion = "4.03";
|
2021-02-05 17:12:51 +00:00
|
|
|
version = "0.0.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "optint";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/mirage/optint/releases/download/v${version}/optint-v${version}.tbz";
|
2021-02-05 17:12:51 +00:00
|
|
|
sha256 = "1a7gabxqmfvii8qnxq1clx43md2h9glskxhac8y8r0rhzblx3s1a";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/mirage/optint";
|
|
|
|
description = "Abstract type of integer between x64 and x86 architecture";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
|
|
};
|
|
|
|
}
|