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:
parent
a6da594e8a
commit
930628f022
34
pkgs/applications/audio/midi-trigger/default.nix
Normal file
34
pkgs/applications/audio/midi-trigger/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue