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