2019-09-14 08:23:18 +00:00
|
|
|
{ lib, buildDunePackage, fetchurl }:
|
2018-11-04 06:49:27 +00:00
|
|
|
|
2019-09-14 08:23:18 +00:00
|
|
|
buildDunePackage rec {
|
2021-05-11 04:54:15 +00:00
|
|
|
minimumOCamlVersion = "4.07";
|
|
|
|
version = "0.1.0";
|
2019-09-14 08:23:18 +00:00
|
|
|
pname = "optint";
|
2018-11-04 06:49:27 +00:00
|
|
|
src = fetchurl {
|
2019-09-14 08:23:18 +00:00
|
|
|
url = "https://github.com/mirage/optint/releases/download/v${version}/optint-v${version}.tbz";
|
2021-05-11 04:54:15 +00:00
|
|
|
sha256 = "27847660223c16cc7eaf8fcd9d5589a0b802114330a2529578f8007d3b01185d";
|
2018-11-04 06:49:27 +00:00
|
|
|
};
|
|
|
|
|
2021-03-06 11:37:32 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
2018-11-04 06:49:27 +00:00
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/mirage/optint";
|
|
|
|
description = "Abstract type of integer between x64 and x86 architecture";
|
2019-09-14 08:23:18 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
2018-11-04 06:49:27 +00:00
|
|
|
};
|
|
|
|
}
|