1{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, ogg, speex }:
2
3buildDunePackage rec {
4 pname = "speex";
5 version = "0.4.1";
6
7 useDune2 = true;
8
9 src = fetchFromGitHub {
10 owner = "savonet";
11 repo = "ocaml-speex";
12 rev = "v${version}";
13 sha256 = "0p4ip37kihlz9qy604llak2kzd00g45ix1yiihnrri2nm01scfab";
14 };
15
16 buildInputs = [ dune-configurator ];
17 propagatedBuildInputs = [ ogg speex.dev ];
18
19 meta = with lib; {
20 homepage = "https://github.com/savonet/ocaml-speex";
21 description = "Bindings to libspeex";
22 license = licenses.gpl2Only;
23 maintainers = with maintainers; [ dandellion ];
24 };
25}