mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 09:13:17 +00:00
1e7ef9e33f
svn path=/nixpkgs/trunk/; revision=24421
29 lines
811 B
Nix
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 = "1k3z09b13c0z10mqfn6w48pxsdx569s3wslg0x52q5mzy6gmvvbq";
|
|
};
|
|
|
|
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"
|
|
];
|
|
};
|
|
}
|