depot/pkgs/development/ocaml-modules/srt/default.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

30 lines
687 B
Nix

{ lib, buildDunePackage, fetchFromGitHub
, dune-configurator
, posix-socket
, srt
, ctypes-foreign
}:
buildDunePackage rec {
pname = "srt";
version = "0.3.0";
minimalOCamlVersion = "4.08";
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-srt";
rev = "v${version}";
sha256 = "sha256-iD18bCbouBuMpuSzruDZJoYz2YyN080RK8BavUF3beY=";
};
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ ctypes-foreign 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 ];
};
}