2022-09-22 12:36:57 +00:00
|
|
|
{ lib, buildDunePackage, fetchurl, lwt, duration, mirage-runtime }:
|
2020-05-29 06:06:01 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "mirage-unix";
|
2022-09-22 12:36:57 +00:00
|
|
|
version = "5.0.1";
|
2020-11-15 13:44:38 +00:00
|
|
|
|
2020-05-29 06:06:01 +00:00
|
|
|
src = fetchurl {
|
2022-09-22 12:36:57 +00:00
|
|
|
url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-${version}.tbz";
|
|
|
|
sha256 = "sha256-U1oLznUDBcJLcVygfSiyl5qRLDM27cm/WrjT0vSGhPg=";
|
2020-05-29 06:06:01 +00:00
|
|
|
};
|
|
|
|
|
2022-09-22 12:36:57 +00:00
|
|
|
propagatedBuildInputs = [ lwt duration mirage-runtime ];
|
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 ];
|
|
|
|
};
|
|
|
|
}
|