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