lol
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 pkg-config,
6 xxd,
7 cairo,
8 fluidsynth,
9 libX11,
10 libjack2,
11 alsa-lib,
12 liblo,
13 libsigcxx,
14 libsmf,
15}:
16
17stdenv.mkDerivation rec {
18 pname = "mamba";
19 version = "2.6";
20
21 src = fetchFromGitHub {
22 owner = "brummer10";
23 repo = "Mamba";
24 tag = "v${version}";
25 hash = "sha256-S1+nGnB1LHIUgYves0qtWh+QXYKjtKWICpOo38b3zbY=";
26 fetchSubmodules = true;
27 };
28
29 nativeBuildInputs = [
30 pkg-config
31 xxd
32 ];
33 buildInputs = [
34 cairo
35 fluidsynth
36 libX11
37 libjack2
38 alsa-lib
39 liblo
40 libsigcxx
41 libsmf
42 ];
43
44 makeFlags = [ "PREFIX=$(out)" ];
45
46 enableParallelBuilding = true;
47
48 meta = with lib; {
49 homepage = "https://github.com/brummer10/Mamba";
50 description = "Virtual MIDI keyboard for Jack Audio Connection Kit";
51 license = licenses.bsd0;
52 maintainers = with maintainers; [
53 magnetophon
54 orivej
55 ];
56 platforms = platforms.linux;
57 };
58}