Files
nixpkgs/pkgs/development/ocaml-modules/srt/default.nix
Vincent Laporte 405fec7427 ocamlPackages.posix-base: 2.2.0 → 4.0.2
ocamlPackages.posix-errno: init at 4.0.2
ocamlPackages.srt: 0.3.3 → 0.3.4
2026-03-21 04:26:35 +01:00

41 lines
763 B
Nix

{
lib,
buildDunePackage,
fetchFromGitHub,
dune-configurator,
posix-socket,
srt,
ctypes-foreign,
}:
buildDunePackage (finalAttrs: {
pname = "srt";
version = "0.3.4";
minimalOCamlVersion = "4.12";
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-srt";
tag = "v${finalAttrs.version}";
hash = "sha256-+1/TffqssRA9YR3KLfbAr/ZpDF5XUKw24gj4HWrhObU=";
};
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [
ctypes-foreign
posix-socket
srt
];
meta = {
description = "OCaml bindings for the libsrt library";
license = lib.licenses.gpl2Plus;
homepage = "https://github.com/savonet/ocaml-srt";
maintainers = with lib.maintainers; [
vbgl
dandellion
];
};
})