depot/third_party/nixpkgs/pkgs/development/ocaml-modules/mirage-unix/default.nix
Default email ca5ab3a501 Project import generated by Copybara.
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
2022-07-14 08:49:19 -04:00

21 lines
661 B
Nix

{ lib, buildDunePackage, fetchurl, lwt, duration, mirage-runtime, io-page }:
buildDunePackage rec {
pname = "mirage-unix";
version = "4.0.1";
src = fetchurl {
url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
sha256 = "sha256-9ymVBb3dkhb+MN97/sXe/oQ36CVx0kruj3sd19LiFZ4=";
};
propagatedBuildInputs = [ lwt duration mirage-runtime io-page ];
doCheck = true;
meta = with lib; {
homepage = "https://github.com/mirage/mirage-unix";
description = "Unix core platform libraries for MirageOS";
license = licenses.isc;
maintainers = with maintainers; [ sternenseemann ];
};
}