blob: 7275d6c6d11e68dbec07edf74ef703cf56866ead (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{
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
];
};
})
|