ocamlPackages.speex: init at 0.4.1

This commit is contained in:
Daniel Olsen 2021-10-30 22:00:46 +02:00 committed by Vincent Laporte
parent c295827d73
commit bfdbfc1eb7
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,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 ];
};
}

View file

@ -1114,6 +1114,10 @@ let
spacetime_lib = callPackage ../development/ocaml-modules/spacetime_lib { };
speex = callPackage ../development/ocaml-modules/speex {
inherit (pkgs) speex;
};
tar-unix = callPackage ../development/ocaml-modules/tar/unix.nix { };
tar = callPackage ../development/ocaml-modules/tar { };