about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/srt/default.nix
blob: 2755b06d9c71914a1adcbd8bd618f012896220bf (plain) (blame)
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
{ lib, buildDunePackage, fetchFromGitHub
, dune-configurator
, posix-socket
, srt
}:

buildDunePackage rec {
  pname = "srt";
  version = "0.2.1";

  src = fetchFromGitHub {
    owner = "savonet";
    repo = "ocaml-srt";
    rev = "v${version}";
    sha256 = "sha256-rnM50IzeiKOrpFf79jTHp+fXn0tdx+vrLuD3kzqLh5g=";
  };

  buildInputs = [ dune-configurator ];
  propagatedBuildInputs = [ posix-socket srt ];

  meta = with lib; {
    description = "OCaml bindings for the libsrt library";
    license = lib.licenses.gpl2Only;
    inherit (src.meta) homepage;
    maintainers = with maintainers; [ vbgl dandellion ];
  };
}