depot/pkgs/development/ocaml-modules/posix/base.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

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