forked from mirrors/nixpkgs
midimonster: init at 0.6.0
This commit is contained in:
parent
31077c9148
commit
e556e61a55
|
@ -6350,6 +6350,12 @@
|
|||
githubId = 37185887;
|
||||
name = "Calvin Kim";
|
||||
};
|
||||
keldu = {
|
||||
email = "mail@keldu.de";
|
||||
github = "keldu";
|
||||
githubId = 15373888;
|
||||
name = "Claudius Holeksa";
|
||||
};
|
||||
kennyballou = {
|
||||
email = "kb@devnulllabs.io";
|
||||
github = "kennyballou";
|
||||
|
|
57
pkgs/tools/audio/midimonster/default.nix
Normal file
57
pkgs/tools/audio/midimonster/default.nix
Normal file
|
@ -0,0 +1,57 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, zlib
|
||||
, fetchFromGitHub
|
||||
, gnumake
|
||||
, gcc
|
||||
, pkg-config
|
||||
, lua5_4
|
||||
, openssl
|
||||
, jack1
|
||||
, python3
|
||||
, alsa-lib
|
||||
, ncurses
|
||||
, libevdev
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "midimonster";
|
||||
version = "0.6.0";
|
||||
|
||||
buildInputs = [pkg-config gnumake gcc lua5_4 openssl jack1 python3 alsa-lib ncurses libevdev];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "midimonster";
|
||||
owner = "cbdevnet";
|
||||
rev = "f16f7db86662fcdbf45b6373257c90c824b0b4b0";
|
||||
sha256 = "131zs4j9asq9xl72cbyi463xpkj064ca1s7i77q5jrwqysgy52sp";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
enableParallelBuilding = true;
|
||||
|
||||
outputs = ["out" "man"];
|
||||
|
||||
buildPhase = ''
|
||||
PLUGINS=$out/lib/midimonster make all
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
PREFIX=$out make install
|
||||
|
||||
mkdir -p "$man/share/man/man1"
|
||||
cp assets/midimonster.1 "$man/share/man/man1"
|
||||
|
||||
mkdir -p "$out/share/icons/hicolor/scalable/apps"
|
||||
cp assets/MIDIMonster.svg "$out/share/icons/hicolor/scalable/apps/"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://midimonster.net";
|
||||
description = "Multi-protocol translation tool";
|
||||
license = licenses.bsd2;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [keldu];
|
||||
};
|
||||
}
|
|
@ -1077,6 +1077,8 @@ with pkgs;
|
|||
|
||||
metapixel = callPackage ../tools/graphics/metapixel { };
|
||||
|
||||
midimonster = callPackage ../tools/audio/midimonster { };
|
||||
|
||||
pferd = callPackage ../tools/misc/pferd {};
|
||||
|
||||
qFlipper = libsForQt515.callPackage ../tools/misc/qflipper { };
|
||||
|
|
Loading…
Reference in a new issue