forked from mirrors/nixpkgs
40 lines
847 B
Nix
40 lines
847 B
Nix
{ stdenv
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, cairo
|
|
, fluidsynth
|
|
, libX11
|
|
, libjack2
|
|
, liblo
|
|
, libsigcxx
|
|
, libsmf
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mamba";
|
|
version = "1.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "brummer10";
|
|
repo = "Mamba";
|
|
rev = "v${version}";
|
|
sha256 = "1l74ckqqrccgsdy430pfsbv4fbzny7zivx399bi2jk1lv06p4h9a";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ cairo fluidsynth libX11 libjack2 liblo libsigcxx libsmf ];
|
|
|
|
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;
|
|
};
|
|
}
|