nixpkgs/pkgs/development/libraries/audio/zita-convolver/default.nix
R. RyanTM 4af3190e41 zita-convolver: 3.1.0 -> 4.0.0 (#41924)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/zita-convolver/versions.

These checks were done:

- built on NixOS

- 0 of 0 passed binary check by having a zero exit code.
- 0 of 0 passed binary check by having the new version present in output.
- directory tree listing: https://gist.github.com/d4fff99f47b470ae2fb591d4d0eca6a9
- du listing: https://gist.github.com/fa1de3cf8f7b6e64c8bcf06617b79635
2018-06-17 17:55:26 +02:00

34 lines
924 B
Nix

{ stdenv, fetchurl, fftwFloat }:
stdenv.mkDerivation rec {
name = "zita-convolver-${version}";
version = "4.0.0";
src = fetchurl {
url = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${name}.tar.bz2";
sha256 = "0fx7f48ls0rlndqrmd4k7ifpnml39yxzc2f0n6xyysypgn06y673";
};
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;
};
}