2020-08-03 19:37:02 +02:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
2020-09-06 05:25:28 +02:00
|
|
|
, pkg-config
|
2020-08-03 19:37:02 +02:00
|
|
|
, cairo
|
2020-09-06 05:25:28 +02:00
|
|
|
, fluidsynth
|
2020-08-16 11:30:11 +02:00
|
|
|
, libX11
|
2020-08-03 19:37:02 +02:00
|
|
|
, libjack2
|
2020-10-13 13:36:10 +02:00
|
|
|
, alsaLib
|
2020-08-03 19:37:02 +02:00
|
|
|
, liblo
|
2020-08-16 11:30:11 +02:00
|
|
|
, libsigcxx
|
|
|
|
, libsmf
|
2020-08-03 19:37:02 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mamba";
|
2020-11-04 10:39:13 +01:00
|
|
|
version = "1.7";
|
2020-08-03 19:37:02 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "brummer10";
|
|
|
|
repo = "Mamba";
|
|
|
|
rev = "v${version}";
|
2020-11-04 10:39:13 +01:00
|
|
|
sha256 = "1i78snpyxap2r4899967nyfr8hg20k45nsbshs9h6hdxbfwhikbc";
|
2020-08-03 19:37:02 +02:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
|
2020-09-06 05:25:28 +02:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-10-13 13:36:10 +02:00
|
|
|
buildInputs = [ cairo fluidsynth libX11 libjack2 alsaLib liblo libsigcxx libsmf ];
|
2020-08-03 19:37:02 +02:00
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
2020-08-16 11:30:11 +02:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2020-08-03 19:37:02 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://github.com/brummer10/Mamba";
|
|
|
|
description = "Virtual MIDI keyboard for Jack Audio Connection Kit";
|
|
|
|
license = licenses.bsd0;
|
2020-08-16 11:30:11 +02:00
|
|
|
maintainers = with maintainers; [ magnetophon orivej ];
|
|
|
|
platforms = platforms.linux;
|
2020-08-03 19:37:02 +02:00
|
|
|
};
|
|
|
|
}
|