about summary refs log tree commit diff
path: root/pkgs/applications/audio/plugin-torture/default.nix
blob: 91b3954de0df60a648206b2739379501f7e2d09f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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;
  };
}