2021-06-10 04:57:09 +02:00
|
|
|
{ mkDerivation, lib, fetchFromGitHub, pkg-config, sconsPackages, qtbase, lash, libjack2, jack ? libjack2, alsa-lib }:
|
2015-11-14 21:32:51 +01:00
|
|
|
|
2020-10-30 02:52:34 +01:00
|
|
|
mkDerivation rec {
|
|
|
|
pname = "jackmix";
|
|
|
|
version = "0.6.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kampfschlaefer";
|
|
|
|
repo = "jackmix";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0p59411vk38lccn24r7nih10jpgg9i46yc26zpc3x13amxwwpd4h";
|
2015-11-14 21:32:51 +01:00
|
|
|
};
|
|
|
|
|
2017-08-29 21:45:08 +02:00
|
|
|
patches = [ ./no_error.patch ];
|
|
|
|
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ sconsPackages.scons_3_1_2 pkg-config ];
|
2015-11-14 21:32:51 +01:00
|
|
|
buildInputs = [
|
2020-10-30 02:52:34 +01:00
|
|
|
qtbase
|
2017-02-18 21:59:45 +01:00
|
|
|
lash
|
2015-11-14 21:32:51 +01:00
|
|
|
jack
|
2021-06-10 04:57:09 +02:00
|
|
|
alsa-lib
|
2015-11-14 21:32:51 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
installPhase = ''
|
2018-11-12 03:52:07 +01:00
|
|
|
install -D jackmix/jackmix $out/bin/jackmix
|
2015-11-14 21:32:51 +01:00
|
|
|
'';
|
|
|
|
|
2020-10-30 02:52:34 +01:00
|
|
|
meta = with lib; {
|
2015-11-14 21:32:51 +01:00
|
|
|
description = "Matrix-Mixer for the Jack-Audio-connection-Kit";
|
2020-10-30 02:52:34 +01:00
|
|
|
homepage = "https://github.com/kampfschlaefer/jackmix";
|
|
|
|
license = licenses.gpl2Only;
|
|
|
|
maintainers = with maintainers; [ kampfschlaefer ];
|
|
|
|
platforms = platforms.linux;
|
2015-11-14 21:32:51 +01:00
|
|
|
};
|
|
|
|
}
|