about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/soundtouch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/soundtouch')
-rw-r--r--nixpkgs/pkgs/development/libraries/soundtouch/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/soundtouch/default.nix b/nixpkgs/pkgs/development/libraries/soundtouch/default.nix
new file mode 100644
index 000000000000..b03a7cc07228
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/soundtouch/default.nix
@@ -0,0 +1,28 @@
+{stdenv, lib, fetchFromGitLab, autoconf, automake, libtool}:
+
+stdenv.mkDerivation rec {
+  pname = "soundtouch";
+  version = "2.2";
+
+  src = fetchFromGitLab {
+    owner = pname;
+    repo = pname;
+    rev = version;
+    sha256 = "12i6yg8vvqwyk412lxl2krbfby6hnxld8qxy0k4m5xp4g94jiq4p";
+  };
+
+  nativeBuildInputs = [ autoconf automake libtool ];
+
+  preConfigure = "./bootstrap";
+
+  enableParallelBuilding = true;
+
+  meta = with lib; {
+    description = "A program and library for changing the tempo, pitch and playback rate of audio";
+    homepage = "https://www.surina.net/soundtouch/";
+    license = licenses.lgpl21Plus;
+    maintainers = with maintainers; [ orivej ];
+    mainProgram = "soundstretch";
+    platforms = platforms.all;
+  };
+}