about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/soundtouch
diff options
context:
space:
mode:
authorDaniel Olsen <daniel.olsen99@gmail.com>2021-10-30 21:57:19 +0200
committerDaniel Olsen <daniel.olsen99@gmail.com>2022-06-08 15:21:28 +0200
commit89a381788e217161d610030b80f3f79e26faa7ef (patch)
tree8f34bbf63726d160f35b5ea1a7fd2f5f75170a7d /pkgs/development/ocaml-modules/soundtouch
parentf34e9c30025fb1300a25e53c2c9aa794ad377af4 (diff)
ocamlPackages.soundtouch: init at 0.1.9
Diffstat (limited to 'pkgs/development/ocaml-modules/soundtouch')
-rw-r--r--pkgs/development/ocaml-modules/soundtouch/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/soundtouch/default.nix b/pkgs/development/ocaml-modules/soundtouch/default.nix
new file mode 100644
index 0000000000000..fc79664d06bbe
--- /dev/null
+++ b/pkgs/development/ocaml-modules/soundtouch/default.nix
@@ -0,0 +1,23 @@
+{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, soundtouch }:
+
+buildDunePackage rec {
+  pname = "soundtouch";
+  version = "0.1.9";
+
+  src = fetchFromGitHub {
+    owner = "savonet";
+    repo = "ocaml-soundtouch";
+    rev = "v${version}";
+    sha256 = "sha256-81Mhk4PZx4jGrVIevzMslvVbKzipzDzHWnbtOjeZCI8=";
+  };
+
+  buildInputs = [ dune-configurator ];
+  propagatedBuildInputs = [ soundtouch ];
+
+  meta = with lib; {
+    homepage = "https://github.com/savonet/ocaml-soundtouch";
+    description = "Bindings for the soundtouch library which provides functions for changing pitch and timestretching audio data";
+    license = licenses.lgpl21Plus;
+    maintainers = with maintainers; [ dandellion ];
+  };
+}