2020-09-25 04:45:31 +00:00
|
|
|
{ lib, buildDunePackage, fetchFromGitHub
|
|
|
|
, ctypes, integers
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "posix-base";
|
2023-04-12 12:48:02 +00:00
|
|
|
version = "2.0.2";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "savonet";
|
|
|
|
repo = "ocaml-posix";
|
|
|
|
rev = "v${version}";
|
2023-04-12 12:48:02 +00:00
|
|
|
hash = "sha256-xxNaPJZdcW+KnT7rYUuC7ZgmHtXTppZG2BOmpKweC/U=";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
|
2023-04-12 12:48:02 +00:00
|
|
|
duneVersion = "3";
|
|
|
|
minimalOCamlVersion = "4.08";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|