nixpkgs/pkgs/development/libraries/rubberband/default.nix
2021-01-06 15:46:04 +03:00

25 lines
884 B
Nix

{ stdenv, fetchurl, pkgconfig, libsamplerate, libsndfile, fftw
, vamp-plugin-sdk, ladspaH }:
stdenv.mkDerivation rec {
pname = "rubberband";
version = "1.9.0";
src = fetchurl {
url = "https://breakfastquay.com/files/releases/${pname}-${version}.tar.bz2";
sha256 = "4f5b9509364ea876b4052fc390c079a3ad4ab63a2683aad09662fb905c2dc026";
};
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://breakfastquay.com/rubberband/";
# 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;
};
}