about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/mirage-unix/default.nix
blob: 68ee12f12c9d6c9584807f05016435f1f341c046 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ 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 ];
  };
}