summary refs log tree commit diff
path: root/pkgs/applications/audio/lv2bm/default.nix
blob: aee910f56eb6e0f609e965102494937e32506c77 (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, fetchFromGitHub, glib, lilv, lv2, pkgconfig, serd, sord, sratom }:

stdenv.mkDerivation {
  pname = "lv2bm";
  version = "git-2015-11-29";

  src = fetchFromGitHub {
    owner = "moddevices";
    repo = "lv2bm";
    rev = "e844931503b7597f45da6d61ff506bb9fca2e9ca";
    sha256 = "1rrz5sp04zjal6v34ldkl6fjj9xqidb8xm1iscjyljf6z4l516cx";
  };

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ glib lilv lv2 serd sord sratom ];

  installPhase = ''
    make install PREFIX=$out
  '';

  meta = with stdenv.lib; {
    homepage = "https://github.com/portalmod/lv2bm";
    description = "A benchmark tool for LV2 plugins";
    license = licenses.gpl3;
    maintainers = [ maintainers.magnetophon ];
    platforms = platforms.linux;
  };
}