ocamlPackages.opus: init at 0.2.1

This commit is contained in:
Daniel Olsen 2021-10-30 19:50:38 +02:00 committed by Vincent Laporte
parent bcc162f3fc
commit c295827d73
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, pkg-config, ogg, libopus }:
buildDunePackage rec {
pname = "opus";
version = "0.2.1";
useDune2 = true;
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-opus";
rev = "v${version}";
sha256 = "09mgnprhhs1adqm25c0qjhknswbh6va3jknq06fnp1jszszcjf4s";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ ogg libopus.dev ];
meta = with lib; {
homepage = "https://github.com/savonet/ocaml-opus";
description = "Bindings to libopus";
license = licenses.gpl2Only;
maintainers = with maintainers; [ dandellion ];
};
}

View file

@ -1028,6 +1028,8 @@ let
optint = callPackage ../development/ocaml-modules/optint { };
opus = callPackage ../development/ocaml-modules/opus { };
otfm = callPackage ../development/ocaml-modules/otfm { };
otoml = callPackage ../development/ocaml-modules/otoml { };