jacktrip: 2.4.1 -> 2.5.1 (#377913)

This commit is contained in:
Sandro
2025-03-11 20:42:58 +01:00
committed by GitHub
+27 -10
View File
@@ -11,18 +11,20 @@
python3,
rtaudio,
ninja,
versionCheckHook,
nix-update-script,
}:
stdenv.mkDerivation rec {
version = "2.4.1";
stdenv.mkDerivation (finalAttrs: {
version = "2.5.1";
pname = "jacktrip";
src = fetchFromGitHub {
owner = "jacktrip";
repo = "jacktrip";
rev = "v${version}";
tag = "v${finalAttrs.version}";
fetchSubmodules = true;
hash = "sha256-KxpoY7g5oKN2j8rOcFcJf/29xTELxhBn5KBvKB5kL8M=";
hash = "sha256-WXUqMKCfZ/ZQLKpfye5cwju4IynitcBPEJwlQ2/+aoo=";
};
preConfigure = ''
@@ -54,18 +56,33 @@ stdenv.mkDerivation rec {
pkg-config
];
# Can't link to libsamplerate
# https://github.com/jacktrip/jacktrip/issues/1380
mesonFlags = [ "-Dlibsamplerate=disabled" ];
qmakeFlags = [ "jacktrip.pro" ];
meta = with lib; {
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
doInstallCheck = true;
passthru = {
updateScript = nix-update-script { };
};
meta = {
description = "Multi-machine audio network performance over the Internet";
mainProgram = "jacktrip";
homepage = "https://jacktrip.github.io/jacktrip/";
license = with licenses; [
changelog = "https://github.com/jacktrip/jacktrip/releases/tag/v${finalAttrs.version}";
license = with lib.licenses; [
gpl3
lgpl3
mit
];
maintainers = [ maintainers.iwanb ];
platforms = platforms.linux;
maintainers = with lib.maintainers; [ iwanb ];
platforms = lib.platforms.linux;
mainProgram = "jacktrip";
};
}
})