From 0d8af2ce9a27430063cc39d64dfe8be3ffe43d50 Mon Sep 17 00:00:00 2001 From: Bart Brouns Date: Mon, 4 May 2015 11:29:37 +0200 Subject: [PATCH] add zam-plugins: a set of audio plugins --- .../audio/zam-plugins/default.nix | 29 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 pkgs/applications/audio/zam-plugins/default.nix diff --git a/pkgs/applications/audio/zam-plugins/default.nix b/pkgs/applications/audio/zam-plugins/default.nix new file mode 100644 index 000000000000..8d383ca39d6a --- /dev/null +++ b/pkgs/applications/audio/zam-plugins/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchurl, boost, libX11, mesa, liblo, jack2, ladspaH, lv2, pkgconfig, rubberband, libsndfile }: + +stdenv.mkDerivation rec { + name = "zam-plugins-${version}"; + version = "3.5"; + + src = fetchurl { + url = "https://github.com/zamaudio/zam-plugins/archive/${version}.tar.gz"; + sha256 = "0icdrs4vaaj8gqi76jkkx5yk9h3agipa11cyb5h52y814q6mx6vm"; + }; + + buildInputs = [ boost libX11 mesa liblo jack2 ladspaH lv2 pkgconfig rubberband libsndfile ]; + + patchPhase = '' + patchShebangs ./libs/generate-ttl.sh + ''; + + makeFlags = [ + "PREFIX=$(out)" + ]; + + meta = with stdenv.lib; { + homepage = http://www.zamaudio.com/?p=976; + description = "A collection of LV2/LADSPA/VST/JACK audio plugins by ZamAudio"; + license = licenses.gpl2Plus; + maintainers = [ maintainers.magnetophon ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a20248705f3c..73184bc56cf9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12756,6 +12756,8 @@ let fltk = fltk13; }; + zam-plugins = callPackage ../applications/audio/zam-plugins { inherit (xlibs) libX11; }; + zathuraCollection = recurseIntoAttrs (let callPackage = newScope pkgs.zathuraCollection; in import ../applications/misc/zathura {