about summary refs log tree commit diff
path: root/pkgs/applications/audio/x42-plugins
diff options
context:
space:
mode:
authorBart Brouns <bart@magnetopon.nl>2015-05-08 13:07:31 +0200
committerBart Brouns <bart@magnetopon.nl>2015-05-08 13:07:31 +0200
commitd3ceff38d494506fce9356d18e3731fce3f7eb14 (patch)
tree709f5691cf8369b9b00b8e3f3e8d3a399131aa66 /pkgs/applications/audio/x42-plugins
parentde1968122b3a95f32eaebbf137a838b139a33191 (diff)
downloadnixlib-d3ceff38d494506fce9356d18e3731fce3f7eb14.tar
nixlib-d3ceff38d494506fce9356d18e3731fce3f7eb14.tar.gz
nixlib-d3ceff38d494506fce9356d18e3731fce3f7eb14.tar.bz2
nixlib-d3ceff38d494506fce9356d18e3731fce3f7eb14.tar.lz
nixlib-d3ceff38d494506fce9356d18e3731fce3f7eb14.tar.xz
nixlib-d3ceff38d494506fce9356d18e3731fce3f7eb14.tar.zst
nixlib-d3ceff38d494506fce9356d18e3731fce3f7eb14.zip
add x42-plugins: a collection of LV2 plugins by Robin Gareus
Diffstat (limited to 'pkgs/applications/audio/x42-plugins')
-rw-r--r--pkgs/applications/audio/x42-plugins/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/applications/audio/x42-plugins/default.nix b/pkgs/applications/audio/x42-plugins/default.nix
new file mode 100644
index 000000000000..aabb6308c143
--- /dev/null
+++ b/pkgs/applications/audio/x42-plugins/default.nix
@@ -0,0 +1,30 @@
+{ stdenv, fetchurl, fetchgit, ftgl, freefont_ttf, jack2, mesa_glu, pkgconfig
+, libltc, libsndfile, libsamplerate
+, lv2, mesa, gtk2, cairo, pango, fftwFloat, zita-convolver }:
+
+stdenv.mkDerivation rec {
+  version = "2014-11-01";
+  name = "x42-plugins-${version}";
+
+  src = fetchurl {
+    url = "http://gareus.org/misc/x42-plugins/x42-plugins-20141101.tar.xz";
+    sha256 = "0pjdhj58hb4n2053v92l7v7097fjm4xzrl8ks4g1hc7miy98ymdk";
+  };
+
+  buildInputs = [ mesa_glu ftgl freefont_ttf jack2 libltc libsndfile libsamplerate lv2 mesa gtk2 cairo pango fftwFloat pkgconfig  zita-convolver];
+
+  makeFlags = [ "PREFIX=$(out)" "FONTFILE=${freefont_ttf}/share/fonts/truetype/FreeSansBold.ttf" ];
+
+  # remove check for zita-convolver in /usr/
+  patchPhase = ''
+    sed -i "38,42d" convoLV2/Makefile
+  '';
+
+  meta = with stdenv.lib;
+    { description = "Collection of LV2 plugins by Robin Gareus";
+      homepage = https://github.com/x42/x42-plugins;
+      maintainers = with maintainers; [ magnetophon ];
+      license = licenses.gpl2;
+      platforms = platforms.linux;
+    };
+}