about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/rubberband/default.nix
blob: 13dcd57e2da7523d4e6fb5e47118c43fac29e0b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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;
  };
}