mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
28 lines
616 B
Nix
28 lines
616 B
Nix
{ 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 ];
|
|
};
|
|
}
|