1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/audio/ir.lv2/default.nix

40 lines
1.1 KiB
Nix
Raw Normal View History

2015-05-23 22:59:13 +01:00
{ stdenv, fetchurl, fftw, gtk, lv2, libsamplerate, libsndfile, pkgconfig, zita-convolver }:
2015-05-05 22:23:26 +01:00
stdenv.mkDerivation rec {
name = "ir.lv2-${version}";
version = "1.2.2";
src = fetchurl {
url = "http://factorial.hu/system/files/${name}.tar.gz";
sha256 = "17a6h2mv9xv41jpbx6bdakkngin4kqzh2v67l4076ddq609k5a7v";
};
2015-05-23 22:59:13 +01:00
buildInputs = [ fftw gtk lv2 libsamplerate libsndfile pkgconfig zita-convolver ];
2015-05-05 22:23:26 +01:00
buildPhase = ''
make
make convert4chan
'';
installPhase = ''
2015-08-09 14:13:50 +01:00
mkdir -p "$out/bin"
2015-05-05 22:23:26 +01:00
mkdir "$out/include"
2015-08-09 14:13:50 +01:00
mkdir -p "$out/share/doc"
2015-05-05 22:23:26 +01:00
make PREFIX="$out" install
install -Dm755 convert4chan "$out/bin/convert4chan"
# fixed location
sed -i 's/, but seem like its gone://' README
sed -i 's@rhythminmind.net/1313@rhythminmind.net/STN@' README
install -Dm644 README "$out/share/doc/README"
'';
meta = with stdenv.lib; {
homepage = http://factorial.hu/plugins/lv2/ir;
description = "Zero-latency, realtime, high performance signal convolver especially for creating reverb effects";
license = licenses.gpl2;
maintainers = [ maintainers.magnetophon ];
platforms = platforms.linux;
};
}