forked from mirrors/nixpkgs
f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
34 lines
924 B
Nix
34 lines
924 B
Nix
{ stdenv, fetchurl, fftwFloat }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "zita-convolver-${version}";
|
|
version = "3.1.0";
|
|
src = fetchurl {
|
|
url = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${name}.tar.bz2";
|
|
sha256 = "14qrnczhp5mbwhky64il7kxc4hl1mmh495v60va7i2qnhasr6zmz";
|
|
};
|
|
|
|
buildInputs = [ fftwFloat ];
|
|
|
|
patchPhase = ''
|
|
cd libs
|
|
sed -e "s@ldconfig@@" -i Makefile
|
|
'';
|
|
|
|
installPhase = ''
|
|
make PREFIX="$out" SUFFIX="" install
|
|
|
|
# create lib link for building apps
|
|
ln -s $out/lib/libzita-convolver.so.$version $out/lib/libzita-convolver.so.3
|
|
'';
|
|
|
|
meta = {
|
|
description = "Convolution 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;
|
|
};
|
|
}
|