blob: 7aa7244e234235ec7dccd6789a0f6e26a596021c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "zita-resampler-${version}";
version = "1.6.0";
src = fetchurl {
url = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${name}.tar.bz2";
sha256 = "1w48lp99jn4wh687cvbnbnjgaraqzkb4bgir16cp504x55v8v20h";
};
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";
version = "${version}";
homepage = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/index.html";
license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.magnetophon ];
platforms = stdenv.lib.platforms.linux;
};
}
|