3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/audio/mamba/default.nix

42 lines
875 B
Nix
Raw Normal View History

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