nixpkgs/pkgs/applications/audio/mamba/default.nix
2022-07-28 23:04:11 +00:00

42 lines
874 B
Nix

{ lib, stdenv
, fetchFromGitHub
, pkg-config
, xxd
, cairo
, fluidsynth
, libX11
, libjack2
, alsa-lib
, liblo
, libsigcxx
, libsmf
}:
stdenv.mkDerivation rec {
pname = "mamba";
version = "2.3";
src = fetchFromGitHub {
owner = "brummer10";
repo = "Mamba";
rev = "v${version}";
sha256 = "sha256-Dj8yPmuEtDVgu6Gm6aEY+dgJ0dtwB8RPg9EuaVAsiIs=";
fetchSubmodules = true;
};
nativeBuildInputs = [ pkg-config xxd ];
buildInputs = [ cairo fluidsynth libX11 libjack2 alsa-lib liblo libsigcxx libsmf ];
makeFlags = [ "PREFIX=$(out)" ];
enableParallelBuilding = true;
meta = with 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;
};
}