2015-03-02 10:05:13 +00:00
|
|
|
{ stdenv, fetchzip, ocaml, findlib, cstruct }:
|
|
|
|
|
2015-06-27 13:36:29 +01:00
|
|
|
let version = "1.5.1"; in
|
2015-03-02 10:05:13 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "ocaml-io-page-${version}";
|
|
|
|
|
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/mirage/io-page/archive/v${version}.tar.gz";
|
2015-06-27 13:36:29 +01:00
|
|
|
sha256 = "0y92wbvi129d0i7wr4lpk1ps9l247zaf1ibqqz0i6spgl28dyq79";
|
2015-03-02 10:05:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ocaml findlib ];
|
|
|
|
propagatedBuildInputs = [ cstruct ];
|
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = https://github.com/mirage/io-page;
|
2015-12-24 17:49:07 +00:00
|
|
|
platforms = ocaml.meta.platforms or [];
|
2015-03-02 10:05:13 +00:00
|
|
|
description = "IO memory page library for Mirage backends";
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ vbgl ];
|
|
|
|
};
|
|
|
|
}
|