nixpkgs/pkgs/development/ocaml-modules/io-page/default.nix
sternenseemann 4e42cac49d ocamlPackages: stdenv.lib → lib
This change was produced by searching for remaining occurrences of
stdenv.lib and replacing them manually.

Reference #108938.
2021-01-12 16:33:18 +01:00

26 lines
713 B
Nix

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