summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/mirage-unix/default.nix
blob: c0ce9fec102c7722b2f2ac5e269e30b922947dc5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, buildDunePackage, fetchurl, lwt, duration, mirage-runtime }:

buildDunePackage rec {
  pname = "mirage-unix";
  version = "5.0.1";

  duneVersion = "3";

  src = fetchurl {
    url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-${version}.tbz";
    hash = "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 ];
  };
}