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 0ed6fbdbb451..cbdfb4285bf8 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12758,6 +12758,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 {