nixpkgs/pkgs/development/libraries/libsamplerate/default.nix
Yury G. Kudryashov 65f0b956a2 Add libsndfile and fftw support to libsamplerate
svn path=/nixpkgs/trunk/; revision=22831
2010-07-30 20:17:37 +00:00

29 lines
811 B
Nix

{ stdenv, fetchurl, pkgconfig, fftw, libsndfile }:
stdenv.mkDerivation rec {
name = "libsamplerate-0.1.7";
src = fetchurl {
url = "http://www.mega-nerd.com/SRC/${name}.tar.gz";
sha256 = "1m1iwzpcny42kcqv5as2nyb0ggrb56wzckpximqpp2y74dipdf4q";
};
buildInputs = [ pkgconfig ];
propagatedBuildInputs = [ fftw libsndfile ];
# maybe interesting configure flags:
#--disable-fftw disable usage of FFTW
#--disable-cpu-clip disable tricky cpu specific clipper
meta = {
description = "Sample Rate Converter for audio";
homepage = http://www.mega-nerd.com/SRC/index.html;
# you can choose one of the following licenses:
license = [
"GPL"
# http://www.mega-nerd.com/SRC/libsamplerate-cul.pdf
"libsamplerate Commercial Use License"
];
};
}