1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/ocaml-modules/io-page/default.nix

26 lines
727 B
Nix
Raw Normal View History

2018-09-05 17:11:47 +01:00
{ stdenv, fetchzip, ocaml, findlib, dune, configurator, cstruct }:
let version = "2.0.1"; in
stdenv.mkDerivation {
name = "ocaml${ocaml.version}-io-page-${version}";
src = fetchzip {
url = "https://github.com/mirage/io-page/archive/${version}.tar.gz";
sha256 = "1rw04dwrlx5hah5dkjf7d63iff82j9cifr8ifjis5pdwhgwcff8i";
};
2018-09-05 17:11:47 +01:00
buildInputs = [ ocaml findlib dune configurator ];
propagatedBuildInputs = [ cstruct ];
2018-09-05 17:11:47 +01:00
inherit (dune) installPhase;
meta = {
homepage = https://github.com/mirage/io-page;
inherit (ocaml.meta) platforms;
license = stdenv.lib.licenses.isc;
description = "IO memory page library for Mirage backends";
maintainers = with stdenv.lib.maintainers; [ vbgl ];
};
}