about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/rubberband
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/rubberband')
-rw-r--r--nixpkgs/pkgs/development/libraries/rubberband/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/rubberband/default.nix b/nixpkgs/pkgs/development/libraries/rubberband/default.nix
new file mode 100644
index 000000000000..13dcd57e2da7
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/rubberband/default.nix
@@ -0,0 +1,23 @@
+{ stdenv, fetchurl, pkgconfig, libsamplerate, libsndfile, fftw
+, vamp-plugin-sdk, ladspaH }:
+
+stdenv.mkDerivation {
+  name = "rubberband-1.8.1";
+
+  src = fetchurl {
+    url = "http://code.breakfastquay.com/attachments/download/23/rubberband-1.8.1.tar.bz2";
+    sha256 = "0x9bm2nqd6w2f35w2sqcp7h5z34i4w7mdg53m0vzjhffnnq6637z";
+  };
+
+  nativeBuildInputs = [ pkgconfig ];
+  buildInputs = [ libsamplerate libsndfile fftw vamp-plugin-sdk ladspaH ];
+
+  meta = with stdenv.lib; {
+    description = "High quality software library for audio time-stretching and pitch-shifting";
+    homepage = "https://www.breakfastquay.com/rubberband/index.html";
+    # commercial license available as well, see homepage. You'll get some more optimized routines
+    license = licenses.gpl2Plus;
+    maintainers = [ maintainers.goibhniu maintainers.marcweber ];
+    platforms = platforms.linux;
+  };
+}