depot/pkgs/development/ocaml-modules/speex/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

25 lines
632 B
Nix

{ 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 ];
};
}