2022-07-14 12:49:19 +00:00
|
|
|
{ lib, buildDunePackage, fetchurl, lwt, duration, mirage-runtime, io-page }:
|
2020-05-29 06:06:01 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "mirage-unix";
|
2022-07-14 12:49:19 +00:00
|
|
|
version = "4.0.1";
|
2020-11-15 13:44:38 +00:00
|
|
|
|
2020-05-29 06:06:01 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
|
2022-07-14 12:49:19 +00:00
|
|
|
sha256 = "sha256-9ymVBb3dkhb+MN97/sXe/oQ36CVx0kruj3sd19LiFZ4=";
|
2020-05-29 06:06:01 +00:00
|
|
|
};
|
|
|
|
|
2022-07-14 12:49:19 +00:00
|
|
|
propagatedBuildInputs = [ lwt duration mirage-runtime io-page ];
|
2020-05-29 06:06:01 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|