3
0
Fork 0
forked from mirrors/nixpkgs

midi-trigger: init at 0.0.4 (#182015)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Viacheslav Lotsmanov 2022-07-25 16:06:51 +03:00 committed by GitHub
parent a6da594e8a
commit 930628f022
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, lv2 }:
stdenv.mkDerivation rec {
pname = "midi-trigger";
version = "0.0.4";
src = fetchFromGitHub {
owner = "unclechu";
repo = "MIDI-Trigger";
rev = "v${version}";
sha256 = "sha256-tMnN8mTd6Bm46ZIDy0JPSVe77xCZws2XwQLQexDWPgU=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ lv2 ];
makeFlags = [
"CXX=cc"
"BUILD_DIR=."
];
installPhase = ''
mkdir -p "$out/lib/lv2"
mv midi-trigger.lv2 "$out/lib/lv2"
'';
meta = with lib; {
homepage = "https://github.com/unclechu/MIDI-Trigger";
description = "LV2 plugin which generates MIDI notes by detected audio signal peaks";
maintainers = with maintainers; [ unclechu ];
license = licenses.gpl3Only;
platforms = platforms.unix;
};
}

View file

@ -1247,6 +1247,8 @@ with pkgs;
midimonster = callPackage ../tools/audio/midimonster { };
midi-trigger = callPackage ../applications/audio/midi-trigger { };
mprocs = callPackage ../tools/misc/mprocs { };
nominatim = callPackage ../servers/nominatim { };