2021-01-19 06:50:56 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, glib, libsndfile, lilv, lv2, pkg-config, serd, sord, sratom }:
|
2015-05-27 19:55:12 +01:00
|
|
|
|
2020-09-23 07:15:34 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "lv2bm";
|
2020-09-23 07:15:34 +01:00
|
|
|
version = "1.1";
|
2015-05-27 19:55:12 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2017-06-15 11:43:33 +01:00
|
|
|
owner = "moddevices";
|
2015-05-27 19:55:12 +01:00
|
|
|
repo = "lv2bm";
|
2020-09-23 07:15:34 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0vlppxfb9zbmffazs1kiyb79py66s8x9hihj36m2vz86zsq7ybl0";
|
2015-05-27 19:55:12 +01:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-09-23 07:15:34 +01:00
|
|
|
buildInputs = [ glib libsndfile lilv lv2 serd sord sratom ];
|
2015-05-27 19:55:12 +01:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
make install PREFIX=$out
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/portalmod/lv2bm";
|
2015-05-27 19:55:12 +01:00
|
|
|
description = "A benchmark tool for LV2 plugins";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.magnetophon ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|