diff options
author | Bart Brouns <bart@magnetopon.nl> | 2015-05-05 23:23:26 +0200 |
---|---|---|
committer | Bart Brouns <bart@magnetopon.nl> | 2015-05-06 15:16:08 +0200 |
commit | c99af2710dfd8ac9aa0ad420d47bbe70a5e11460 (patch) | |
tree | d94476e02acff91f09540abef317354c5ff7eaae /pkgs/development/libraries/audio/zita-convolver/default.nix | |
parent | 90e09e3eeec9508051ec3bee78488908677db793 (diff) |
add ir.lv2, a convolution plugin.
Diffstat (limited to 'pkgs/development/libraries/audio/zita-convolver/default.nix')
-rw-r--r-- | pkgs/development/libraries/audio/zita-convolver/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/libraries/audio/zita-convolver/default.nix b/pkgs/development/libraries/audio/zita-convolver/default.nix new file mode 100644 index 0000000000000..a15ae7dad40d3 --- /dev/null +++ b/pkgs/development/libraries/audio/zita-convolver/default.nix @@ -0,0 +1,33 @@ +{ 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; + }; +} |