1 { lib, stdenv, fetchFromGitHub, pkg-config, lv2 }:
3 stdenv.mkDerivation rec {
4 pname = "midi-trigger";
7 src = fetchFromGitHub {
11 sha256 = "sha256-tMnN8mTd6Bm46ZIDy0JPSVe77xCZws2XwQLQexDWPgU=";
14 nativeBuildInputs = [ pkg-config ];
15 buildInputs = [ lv2 ];
23 mkdir -p "$out/lib/lv2"
24 mv midi-trigger.lv2 "$out/lib/lv2"
28 homepage = "https://github.com/unclechu/MIDI-Trigger";
29 description = "LV2 plugin which generates MIDI notes by detected audio signal peaks";
30 maintainers = with maintainers; [ unclechu ];
31 license = licenses.gpl3Only;
32 platforms = platforms.unix;