nixpkgs/pkgs/development/libraries/audio/zita-resampler/default.nix

34 lines
850 B
Nix
Raw Normal View History

2015-05-06 02:08:11 +02:00
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "zita-resampler-${version}";
2016-11-01 01:36:09 +01:00
version = "1.6.0";
2015-05-06 02:08:11 +02:00
src = fetchurl {
url = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${name}.tar.bz2";
2016-11-01 01:36:09 +01:00
sha256 = "1w48lp99jn4wh687cvbnbnjgaraqzkb4bgir16cp504x55v8v20h";
2015-05-06 02:08:11 +02:00
};
makeFlags = [
"PREFIX=$(out)"
"SUFFIX="
];
patchPhase = ''
cd libs
sed -e "s@ldconfig@@" -i Makefile
'';
fixupPhase = ''
ln -s $out/lib/libzita-resampler.so.$version $out/lib/libzita-resampler.so.1
'';
meta = {
description = "Resample library by Fons Adriaensen";
2015-05-06 02:08:11 +02:00
version = "${version}";
homepage = http://kokkinizita.linuxaudio.org/linuxaudio/downloads/index.html;
2015-05-06 02:08:11 +02:00
license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.magnetophon ];
platforms = stdenv.lib.platforms.linux;
};
}