From 73e10360290be7fbde87dd2c42ec9a234befdc04 Mon Sep 17 00:00:00 2001 From: Bart Brouns Date: Tue, 12 May 2015 16:28:32 +0200 Subject: [PATCH] add plugin-torture: a tool to test LADSPA and LV2 plugins --- .../audio/plugin-torture/default.nix | 28 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/applications/audio/plugin-torture/default.nix diff --git a/pkgs/applications/audio/plugin-torture/default.nix b/pkgs/applications/audio/plugin-torture/default.nix new file mode 100644 index 00000000000..91b3954de0d --- /dev/null +++ b/pkgs/applications/audio/plugin-torture/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchgit, boost, ladspaH, lilv, lv2, pkgconfig, serd, sord, sratom }: + +stdenv.mkDerivation rec { + name = "plugin-torture-git-${version}"; + version = "2013-10-03"; + + src = fetchgit { + url = "https://github.com/cth103/plugin-torture"; + rev = "9ee06016982bdfbaa215cd0468cc6ada6367462a"; + sha256 = "bfe9213fd2c1451d7acc1381d63301c4e6ff69ce86d31a886ece5159ba850706"; + }; + + buildInputs = [ boost ladspaH lilv lv2 pkgconfig serd sord sratom ]; + + installPhase = '' + mkdir -p $out/bin + cp plugin-torture $out/bin/ + cp README $out/bin/ + ''; + + meta = with stdenv.lib; { + homepage = https://github.com/cth103/plugin-torture; + description = "A tool to test LADSPA and LV2 plugins"; + license = licenses.gpl2; + maintainers = [ maintainers.magnetophon ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 71307a32ecf..d310b97850e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11848,6 +11848,8 @@ let gtksharp = gtk-sharp; }; + plugin-torture = callPackage ../applications/audio/plugin-torture { }; + pommed = callPackage ../os-specific/linux/pommed { inherit (xorg) libXpm; };