nixpkgs/pkgs/development/ocaml-modules/srt/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
676 B
Nix
Raw Normal View History

2020-08-31 05:09:33 +00:00
{ lib, buildDunePackage, fetchFromGitHub
, dune-configurator
, posix-socket
, srt
}:
buildDunePackage rec {
pname = "srt";
version = "0.3.0";
minimalOCamlVersion = "4.08";
duneVersion = "3";
2020-08-31 05:09:33 +00:00
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-srt";
rev = "v${version}";
sha256 = "sha256-iD18bCbouBuMpuSzruDZJoYz2YyN080RK8BavUF3beY=";
2020-08-31 05:09:33 +00:00
};
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ posix-socket srt ];
2021-10-30 20:05:24 +00:00
meta = with lib; {
2020-08-31 05:09:33 +00:00
description = "OCaml bindings for the libsrt library";
license = lib.licenses.gpl2Only;
inherit (src.meta) homepage;
2021-10-30 20:05:24 +00:00
maintainers = with maintainers; [ vbgl dandellion ];
2020-08-31 05:09:33 +00:00
};
}