nixpkgs/pkgs/applications/audio/lv2bm/default.nix

29 lines
735 B
Nix
Raw Normal View History

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