2020-11-19 00:13:47 +00:00
|
|
|
{ mkDerivation, lib, fetchFromGitHub, pkgconfig, sconsPackages, qtbase, lash, libjack2, jack ? libjack2, alsaLib }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-11-19 00:13:47 +00:00
|
|
|
mkDerivation rec {
|
|
|
|
pname = "jackmix";
|
|
|
|
version = "0.6.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kampfschlaefer";
|
|
|
|
repo = "jackmix";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0p59411vk38lccn24r7nih10jpgg9i46yc26zpc3x13amxwwpd4h";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./no_error.patch ];
|
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
nativeBuildInputs = [ sconsPackages.scons_3_1_2 pkgconfig ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [
|
2020-11-19 00:13:47 +00:00
|
|
|
qtbase
|
2020-04-24 23:36:52 +00:00
|
|
|
lash
|
|
|
|
jack
|
2020-09-25 04:45:31 +00:00
|
|
|
alsaLib
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -D jackmix/jackmix $out/bin/jackmix
|
|
|
|
'';
|
|
|
|
|
2020-11-19 00:13:47 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Matrix-Mixer for the Jack-Audio-connection-Kit";
|
2020-11-19 00:13:47 +00:00
|
|
|
homepage = "https://github.com/kampfschlaefer/jackmix";
|
|
|
|
license = licenses.gpl2Only;
|
|
|
|
maintainers = with maintainers; [ kampfschlaefer ];
|
|
|
|
platforms = platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|