mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
43 lines
873 B
Nix
43 lines
873 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, xxd
|
|
, cairo
|
|
, fluidsynth
|
|
, libX11
|
|
, libjack2
|
|
, alsa-lib
|
|
, liblo
|
|
, libsigcxx
|
|
, libsmf
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mamba";
|
|
version = "2.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "brummer10";
|
|
repo = "Mamba";
|
|
rev = "v${version}";
|
|
hash = "sha256-S1+nGnB1LHIUgYves0qtWh+QXYKjtKWICpOo38b3zbY=";
|
|
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;
|
|
};
|
|
}
|