nixpkgs-suyu/pkgs/development/libraries/audio/zita-resampler/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* 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
2017-08-01 22:03:30 +02:00

33 lines
850 B
Nix

{ 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;
};
}