ocamlPackages.posix-base: init at 2.0.0

This commit is contained in:
Vincent Laporte 2020-08-24 07:47:48 +02:00 committed by Vincent Laporte
parent 8ef6f4bd56
commit b1f2a30191
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ lib, buildDunePackage, fetchFromGitHub
, ctypes, integers
}:
buildDunePackage rec {
pname = "posix-base";
version = "2.0.0";
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-posix";
rev = "v${version}";
sha256 = "18px8hfqcfy2lk8105ki3hrxxigs44gs046ba0fqda6wzd0hr82b";
};
useDune2 = true;
propagatedBuildInputs = [ ctypes integers ];
meta = {
homepage = "https://www.liquidsoap.info/ocaml-posix/";
description = "Base module for the posix bindings";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
};
}

View File

@ -754,6 +754,8 @@ let
piqi-ocaml = callPackage ../development/ocaml-modules/piqi-ocaml { };
posix-base = callPackage ../development/ocaml-modules/posix/base.nix { };
ppxfind = callPackage ../development/ocaml-modules/ppxfind { };
ppxlib = callPackage ../development/ocaml-modules/ppxlib { };