nixpkgs/pkgs/development/ocaml-modules/io-page/default.nix

25 lines
717 B
Nix
Raw Normal View History

2020-05-21 00:44:42 +02:00
{ stdenv, fetchurl, buildDunePackage, configurator, cstruct, bigarray-compat, ounit }:
buildDunePackage rec {
pname = "io-page";
2020-05-21 00:44:42 +02:00
version = "2.3.0";
2020-05-21 00:44:42 +02:00
minimumOCamlVersion = "4.02.3";
src = fetchurl {
url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
sha256 = "1hx27pwf419hrhwaw9cphbnl8akz8yy73hqj49l15g2k7shah1cn";
};
2020-05-21 00:44:42 +02:00
propagatedBuildInputs = [ cstruct bigarray-compat ];
checkInputs = [ ounit ];
doCheck = true;
meta = {
homepage = "https://github.com/mirage/io-page";
license = stdenv.lib.licenses.isc;
description = "IO memory page library for Mirage backends";
maintainers = with stdenv.lib.maintainers; [ vbgl ];
};
}