about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules
diff options
context:
space:
mode:
authorDaniel Olsen <daniel.olsen99@gmail.com>2021-10-30 22:00:46 +0200
committerVincent Laporte <vbgl@users.noreply.github.com>2022-03-09 15:43:12 +0100
commitbfdbfc1eb7e99cfd54eff90fc7fa0f8413f5e4bd (patch)
tree8f985e26c114bf18323846a34a7646134fd109d8 /pkgs/development/ocaml-modules
parentc295827d730f1704f0d1de647b70189a9540b6b7 (diff)
downloadnixlib-bfdbfc1eb7e99cfd54eff90fc7fa0f8413f5e4bd.tar
nixlib-bfdbfc1eb7e99cfd54eff90fc7fa0f8413f5e4bd.tar.gz
nixlib-bfdbfc1eb7e99cfd54eff90fc7fa0f8413f5e4bd.tar.bz2
nixlib-bfdbfc1eb7e99cfd54eff90fc7fa0f8413f5e4bd.tar.lz
nixlib-bfdbfc1eb7e99cfd54eff90fc7fa0f8413f5e4bd.tar.xz
nixlib-bfdbfc1eb7e99cfd54eff90fc7fa0f8413f5e4bd.tar.zst
nixlib-bfdbfc1eb7e99cfd54eff90fc7fa0f8413f5e4bd.zip
ocamlPackages.speex: init at 0.4.1
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r--pkgs/development/ocaml-modules/speex/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/speex/default.nix b/pkgs/development/ocaml-modules/speex/default.nix
new file mode 100644
index 000000000000..1bf5f308ecf2
--- /dev/null
+++ b/pkgs/development/ocaml-modules/speex/default.nix
@@ -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 ];
+  };
+}