2023-03-25 14:35:15 +00:00
|
|
|
{ mkDerivation, lib, fetchFromGitHub, pkg-config, scons, qtbase, lash, libjack2, jack ? libjack2, alsa-lib
|
2022-11-25 21:34:29 +00:00
|
|
|
, fetchpatch
|
|
|
|
}:
|
2015-11-14 20:32:51 +00:00
|
|
|
|
2020-10-30 01:52:34 +00:00
|
|
|
mkDerivation rec {
|
|
|
|
pname = "jackmix";
|
|
|
|
version = "0.6.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kampfschlaefer";
|
|
|
|
repo = "jackmix";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0p59411vk38lccn24r7nih10jpgg9i46yc26zpc3x13amxwwpd4h";
|
2015-11-14 20:32:51 +00:00
|
|
|
};
|
|
|
|
|
2022-11-25 21:34:29 +00:00
|
|
|
patches = [
|
|
|
|
./no_error.patch
|
|
|
|
(fetchpatch {
|
|
|
|
name = "sconstruct-python3.patch";
|
|
|
|
url = "https://github.com/kampfschlaefer/jackmix/commit/3a0c868b267728fdbc69cc3dc1941edac27d97f6.patch";
|
|
|
|
hash = "sha256-MLgxIiZ0+C1IVEci9Q347DR+SJUlPG2N3iPvuhRptJU=";
|
|
|
|
})
|
|
|
|
];
|
2017-08-29 19:45:08 +00:00
|
|
|
|
2023-03-25 14:35:15 +00:00
|
|
|
nativeBuildInputs = [ scons pkg-config ];
|
2015-11-14 20:32:51 +00:00
|
|
|
buildInputs = [
|
2020-10-30 01:52:34 +00:00
|
|
|
qtbase
|
2017-02-18 20:59:45 +00:00
|
|
|
lash
|
2015-11-14 20:32:51 +00:00
|
|
|
jack
|
2021-06-10 02:57:09 +00:00
|
|
|
alsa-lib
|
2015-11-14 20:32:51 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
installPhase = ''
|
2018-11-12 02:52:07 +00:00
|
|
|
install -D jackmix/jackmix $out/bin/jackmix
|
2015-11-14 20:32:51 +00:00
|
|
|
'';
|
|
|
|
|
2020-10-30 01:52:34 +00:00
|
|
|
meta = with lib; {
|
2015-11-14 20:32:51 +00:00
|
|
|
description = "Matrix-Mixer for the Jack-Audio-connection-Kit";
|
2020-10-30 01:52:34 +00:00
|
|
|
homepage = "https://github.com/kampfschlaefer/jackmix";
|
|
|
|
license = licenses.gpl2Only;
|
|
|
|
maintainers = with maintainers; [ kampfschlaefer ];
|
|
|
|
platforms = platforms.linux;
|
2015-11-14 20:32:51 +00:00
|
|
|
};
|
|
|
|
}
|