depot/third_party/nixpkgs/pkgs/applications/audio/lv2bm/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

29 lines
760 B
Nix

{ lib, stdenv, fetchFromGitHub, glib, libsndfile, lilv, lv2, pkg-config, serd, sord, sratom }:
stdenv.mkDerivation rec {
pname = "lv2bm";
version = "1.1";
src = fetchFromGitHub {
owner = "moddevices";
repo = "lv2bm";
rev = "v${version}";
sha256 = "0vlppxfb9zbmffazs1kiyb79py66s8x9hihj36m2vz86zsq7ybl0";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ glib libsndfile lilv lv2 serd sord sratom ];
installPhase = ''
make install PREFIX=$out
'';
meta = with lib; {
homepage = "https://github.com/portalmod/lv2bm";
description = "Benchmark tool for LV2 plugins";
license = licenses.gpl3;
maintainers = [ maintainers.magnetophon ];
platforms = platforms.linux;
mainProgram = "lv2bm";
};
}