2020-08-20 17:08:02 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
2020-09-25 04:45:31 +00:00
|
|
|
, pkg-config
|
2020-08-20 17:08:02 +00:00
|
|
|
, cairo
|
2020-09-25 04:45:31 +00:00
|
|
|
, fluidsynth
|
2020-08-20 17:08:02 +00:00
|
|
|
, libX11
|
|
|
|
, libjack2
|
2020-10-16 20:44:37 +00:00
|
|
|
, alsaLib
|
2020-08-20 17:08:02 +00:00
|
|
|
, liblo
|
|
|
|
, libsigcxx
|
|
|
|
, libsmf
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mamba";
|
2020-11-24 20:58:05 +00:00
|
|
|
version = "1.8";
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "brummer10";
|
|
|
|
repo = "Mamba";
|
|
|
|
rev = "v${version}";
|
2020-11-24 20:58:05 +00:00
|
|
|
sha256 = "049gvdvvv3hkh1b47h0bia02g1p71agwh6g7q0n4yxz4d81b8kha";
|
2020-08-20 17:08:02 +00:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-10-16 20:44:37 +00:00
|
|
|
buildInputs = [ cairo fluidsynth libX11 libjack2 alsaLib liblo libsigcxx libsmf ];
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://github.com/brummer10/Mamba";
|
|
|
|
description = "Virtual MIDI keyboard for Jack Audio Connection Kit";
|
|
|
|
license = licenses.bsd0;
|
|
|
|
maintainers = with maintainers; [ magnetophon orivej ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|