2019-09-14 10:23:18 +02:00
|
|
|
{ lib, buildDunePackage, fetchurl }:
|
2018-11-04 07:49:27 +01:00
|
|
|
|
2019-09-14 10:23:18 +02:00
|
|
|
buildDunePackage rec {
|
|
|
|
minimumOCamlVersion = "4.03";
|
2020-12-06 13:46:56 +01:00
|
|
|
version = "0.0.4";
|
2019-09-14 10:23:18 +02:00
|
|
|
pname = "optint";
|
2018-11-04 07:49:27 +01:00
|
|
|
src = fetchurl {
|
2019-09-14 10:23:18 +02:00
|
|
|
url = "https://github.com/mirage/optint/releases/download/v${version}/optint-v${version}.tbz";
|
2020-12-06 13:46:56 +01:00
|
|
|
sha256 = "1a7gabxqmfvii8qnxq1clx43md2h9glskxhac8y8r0rhzblx3s1a";
|
2018-11-04 07:49:27 +01:00
|
|
|
};
|
|
|
|
|
2021-03-06 12:37:32 +01:00
|
|
|
useDune2 = true;
|
|
|
|
|
2018-11-04 07:49:27 +01:00
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/mirage/optint";
|
|
|
|
description = "Abstract type of integer between x64 and x86 architecture";
|
2019-09-14 10:23:18 +02:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
2018-11-04 07:49:27 +01:00
|
|
|
};
|
|
|
|
}
|