1{
2 lib,
3 buildDunePackage,
4 fetchFromGitHub,
5 ctypes,
6 integers,
7}:
8
9buildDunePackage rec {
10 pname = "posix-base";
11 version = "2.2.0";
12
13 src = fetchFromGitHub {
14 owner = "savonet";
15 repo = "ocaml-posix";
16 tag = "v${version}";
17 hash = "sha256-JKJIiuo4lW8DmcK1mJlT22784J1NS2ig860jDbRIjIo=";
18 };
19
20 minimalOCamlVersion = "4.08";
21
22 propagatedBuildInputs = [
23 ctypes
24 integers
25 ];
26
27 meta = {
28 homepage = "https://www.liquidsoap.info/ocaml-posix/";
29 description = "Base module for the posix bindings";
30 license = lib.licenses.mit;
31 maintainers = [ lib.maintainers.vbgl ];
32 };
33}