about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/posix/base.nix
blob: ab78d3737f9f333e7a6f472d3ff5c2f2373943a0 (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
24
25
26
27
{ lib, buildDunePackage, fetchFromGitHub
, ctypes, integers
}:

buildDunePackage rec {
  pname = "posix-base";
  version = "2.0.2";

  src = fetchFromGitHub {
    owner = "savonet";
    repo = "ocaml-posix";
    rev = "v${version}";
    hash = "sha256-xxNaPJZdcW+KnT7rYUuC7ZgmHtXTppZG2BOmpKweC/U=";
  };

  duneVersion = "3";
  minimalOCamlVersion = "4.08";

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