nixpkgs/pkgs/development/ocaml-modules/mirage-unix/default.nix
2022-09-15 16:32:24 +02:00

22 lines
643 B
Nix

{ lib, buildDunePackage, fetchurl, lwt, duration, mirage-runtime }:
buildDunePackage rec {
pname = "mirage-unix";
version = "5.0.1";
src = fetchurl {
url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-${version}.tbz";
sha256 = "sha256-U1oLznUDBcJLcVygfSiyl5qRLDM27cm/WrjT0vSGhPg=";
};
propagatedBuildInputs = [ lwt duration mirage-runtime ];
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 ];
};
}