depot/third_party/nixpkgs/pkgs/development/ocaml-modules/mirage-unix/default.nix

22 lines
643 B
Nix
Raw Normal View History

{ 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 ];
};
}