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

41 lines
857 B
Nix
Raw Normal View History

2020-08-03 18:37:02 +01:00
{ stdenv
, fetchFromGitHub
2020-08-16 10:30:11 +01:00
, pkgconfig
2020-08-03 18:37:02 +01:00
, cairo
2020-08-16 10:30:11 +01:00
, libX11
2020-08-03 18:37:02 +01:00
, libjack2
, liblo
2020-08-16 10:30:11 +01:00
, libsigcxx
, libsmf
2020-08-03 18:37:02 +01:00
}:
stdenv.mkDerivation rec {
pname = "mamba";
2020-08-16 10:30:11 +01:00
version = "1.3";
2020-08-03 18:37:02 +01:00
src = fetchFromGitHub {
owner = "brummer10";
repo = "Mamba";
rev = "v${version}";
2020-08-16 10:30:11 +01:00
sha256 = "1wa3f9c4l239mpxa7nxx8hajy4icn40vpvaxq5l1qzskl74w072d";
2020-08-03 18:37:02 +01:00
fetchSubmodules = true;
};
2020-08-16 10:30:11 +01:00
patches = [ ./fix-build.patch ];
2020-08-03 18:37:02 +01:00
nativeBuildInputs = [ pkgconfig ];
2020-08-16 10:30:11 +01:00
buildInputs = [ cairo libX11 libjack2 liblo libsigcxx libsmf ];
2020-08-03 18:37:02 +01:00
makeFlags = [ "PREFIX=$(out)" ];
2020-08-16 10:30:11 +01:00
enableParallelBuilding = true;
2020-08-03 18:37:02 +01:00
meta = with stdenv.lib; {
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
};
}