about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/speex/default.nix
blob: 1bf5f308ecf22611a0c5540ccfae603faf7cf90f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, ogg, speex }:

buildDunePackage rec {
  pname = "speex";
  version = "0.4.1";

  useDune2 = true;

  src = fetchFromGitHub {
    owner = "savonet";
    repo = "ocaml-speex";
    rev = "v${version}";
    sha256 = "0p4ip37kihlz9qy604llak2kzd00g45ix1yiihnrri2nm01scfab";
  };

  buildInputs = [ dune-configurator ];
  propagatedBuildInputs = [ ogg speex.dev ];

  meta = with lib; {
    homepage = "https://github.com/savonet/ocaml-speex";
    description = "Bindings to libspeex";
    license = licenses.gpl2Only;
    maintainers = with maintainers; [ dandellion ];
  };
}