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

stdenv.mkDerivation rec {
  pname = "lv2bm";
  version = "1.1";

  src = fetchFromGitHub {
    owner = "moddevices";
    repo = "lv2bm";
    rev = "v${version}";
    sha256 = "0vlppxfb9zbmffazs1kiyb79py66s8x9hihj36m2vz86zsq7ybl0";
  };

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ glib libsndfile 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;
  };
}