2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, glib, libsndfile, lilv, lv2, pkgconfig, serd, sord, sratom }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-10-07 09:15:18 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "lv2bm";
|
2020-10-07 09:15:18 +00:00
|
|
|
version = "1.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "moddevices";
|
|
|
|
repo = "lv2bm";
|
2020-10-07 09:15:18 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0vlppxfb9zbmffazs1kiyb79py66s8x9hihj36m2vz86zsq7ybl0";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2020-10-07 09:15:18 +00:00
|
|
|
buildInputs = [ glib libsndfile lilv lv2 serd sord sratom ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
make install PREFIX=$out
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/portalmod/lv2bm";
|
|
|
|
description = "A benchmark tool for LV2 plugins";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.magnetophon ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|