3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/audio/zita-resampler/default.nix

34 lines
849 B
Nix
Raw Normal View History

2015-05-06 01:08:11 +01:00
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "zita-resampler";
2018-10-07 16:35:03 +01:00
version = "1.6.2";
2015-05-06 01:08:11 +01:00
src = fetchurl {
url = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pname}-${version}.tar.bz2";
2018-10-07 16:35:03 +01:00
sha256 = "1my5k2dh2dkvjp6xjnf9qy6i7s28z13kw1n9pwa4a2cpwbzawfr3";
2015-05-06 01:08:11 +01:00
};
makeFlags = [
"PREFIX=$(out)"
"SUFFIX="
];
patchPhase = ''
2018-10-07 16:35:03 +01:00
cd source
2015-05-06 01:08:11 +01:00
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";
2019-09-09 00:38:31 +01:00
version = version;
homepage = http://kokkinizita.linuxaudio.org/linuxaudio/downloads/index.html;
2015-05-06 01:08:11 +01:00
license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.magnetophon ];
platforms = stdenv.lib.platforms.linux;
};
}