mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
25 lines
666 B
Nix
25 lines
666 B
Nix
{ stdenv, fetchzip, ocaml, findlib, ocamlbuild, cstruct }:
|
|
|
|
let version = "1.6.1"; in
|
|
|
|
stdenv.mkDerivation {
|
|
name = "ocaml-io-page-${version}";
|
|
|
|
src = fetchzip {
|
|
url = "https://github.com/mirage/io-page/archive/v${version}.tar.gz";
|
|
sha256 = "1djwks3ss12m55q6h4jsvfsy848cxfnpaxkilw10h26xj6jchflz";
|
|
};
|
|
|
|
buildInputs = [ ocaml findlib ocamlbuild ];
|
|
propagatedBuildInputs = [ cstruct ];
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
meta = {
|
|
homepage = https://github.com/mirage/io-page;
|
|
platforms = ocaml.meta.platforms or [];
|
|
description = "IO memory page library for Mirage backends";
|
|
maintainers = with stdenv.lib.maintainers; [ vbgl ];
|
|
};
|
|
}
|