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

25 lines
666 B
Nix
Raw Normal View History

{ stdenv, fetchzip, ocaml, findlib, ocamlbuild, cstruct }:
2017-03-28 19:05:47 +02:00
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";
2017-03-28 19:05:47 +02:00
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 ];
};
}