aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/ocaml-modules/posix/base.nix
blob: a6fe690ebcc779c6754c4885c7379da69b2db019 (plain)
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
{ 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 ];
  };
}