2021-01-11 13:14:57 +00:00
|
|
|
{ lib, fetchurl, buildDunePackage, cstruct, bigarray-compat, ounit }:
|
2015-03-02 10:05:13 +00:00
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "io-page";
|
2022-06-26 17:44:19 +00:00
|
|
|
version = "3.0.0";
|
2015-03-02 10:05:13 +00:00
|
|
|
|
2022-06-26 17:44:19 +00:00
|
|
|
minimalOCamlVersion = "4.08";
|
2020-05-20 22:44:42 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-06-26 17:44:19 +00:00
|
|
|
url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-${version}.tbz";
|
|
|
|
sha256 = "sha256-DjbKdNkFa6YQgJDLmLsuvyrweb4/TNvqAiggcj/3hu4=";
|
2015-03-02 10:05:13 +00:00
|
|
|
};
|
|
|
|
|
2020-05-20 22:44:42 +00:00
|
|
|
propagatedBuildInputs = [ cstruct bigarray-compat ];
|
|
|
|
checkInputs = [ ounit ];
|
|
|
|
doCheck = true;
|
2015-03-02 10:05:13 +00:00
|
|
|
|
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/mirage/io-page";
|
2021-01-11 12:49:15 +00:00
|
|
|
license = lib.licenses.isc;
|
2015-03-02 10:05:13 +00:00
|
|
|
description = "IO memory page library for Mirage backends";
|
2021-01-11 12:49:15 +00:00
|
|
|
maintainers = with lib.maintainers; [ vbgl ];
|
2015-03-02 10:05:13 +00:00
|
|
|
};
|
|
|
|
}
|