2024-04-21 15:54:59 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub
|
2022-04-15 01:41:22 +00:00
|
|
|
, pkg-config
|
|
|
|
, help2man
|
|
|
|
, libjack2
|
|
|
|
, dbus
|
2024-04-21 15:54:59 +00:00
|
|
|
, qt6
|
2022-04-15 01:41:22 +00:00
|
|
|
, meson
|
|
|
|
, python3
|
|
|
|
, rtaudio
|
|
|
|
, ninja
|
|
|
|
}:
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2024-06-05 15:53:02 +00:00
|
|
|
version = "2.3.0";
|
2022-04-15 01:41:22 +00:00
|
|
|
pname = "jacktrip";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jacktrip";
|
|
|
|
repo = "jacktrip";
|
|
|
|
rev = "v${version}";
|
2023-10-09 19:29:22 +00:00
|
|
|
fetchSubmodules = true;
|
2024-06-05 15:53:02 +00:00
|
|
|
sha256 = "sha256-MUP+8Hjrj95D5SONIEsweB5j+kgEhLEWTKWBlEWLt94=";
|
2022-04-15 01:41:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
rm build
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
rtaudio
|
2024-04-21 15:54:59 +00:00
|
|
|
qt6.qtbase
|
|
|
|
qt6.qtwayland
|
2022-04-15 01:41:22 +00:00
|
|
|
libjack2
|
|
|
|
dbus
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
python3
|
|
|
|
python3.pkgs.pyaml
|
|
|
|
python3.pkgs.jinja2
|
|
|
|
ninja
|
|
|
|
help2man
|
|
|
|
meson
|
2024-04-21 15:54:59 +00:00
|
|
|
qt6.qt5compat
|
|
|
|
qt6.qtnetworkauth
|
|
|
|
qt6.qtwebsockets
|
|
|
|
qt6.qtwebengine
|
|
|
|
qt6.qtdeclarative
|
|
|
|
qt6.qtsvg
|
|
|
|
qt6.wrapQtAppsHook
|
2022-04-15 01:41:22 +00:00
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
qmakeFlags = [ "jacktrip.pro" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Multi-machine audio network performance over the Internet";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "jacktrip";
|
2022-04-15 01:41:22 +00:00
|
|
|
homepage = "https://jacktrip.github.io/jacktrip/";
|
|
|
|
license = with licenses; [ gpl3 lgpl3 mit ];
|
|
|
|
maintainers = [ maintainers.iwanb ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|