From 149f31a857f98945389d9b6e3fcd07603085b3ec Mon Sep 17 00:00:00 2001 From: Iwan Date: Mon, 4 Apr 2022 16:39:37 +0200 Subject: [PATCH] jacktrip: init at 1.5.3 (#166137) Co-authored-by: Sandro --- maintainers/maintainer-list.nix | 6 ++ pkgs/applications/audio/jacktrip/default.nix | 61 ++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 3 files changed, 69 insertions(+) create mode 100644 pkgs/applications/audio/jacktrip/default.nix diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 7cae29a1eefe..2fe9ebac21f4 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -5417,6 +5417,12 @@ githubId = 41924494; name = "Ivar"; }; + iwanb = { + email = "tracnar@gmail.com"; + github = "iwanb"; + githubId = 4035835; + name = "Iwan"; + }; ixmatus = { email = "parnell@digitalmentat.com"; github = "ixmatus"; diff --git a/pkgs/applications/audio/jacktrip/default.nix b/pkgs/applications/audio/jacktrip/default.nix new file mode 100644 index 000000000000..7dd60a6c4d1b --- /dev/null +++ b/pkgs/applications/audio/jacktrip/default.nix @@ -0,0 +1,61 @@ +{ lib, mkDerivation, fetchFromGitHub +, pkg-config +, help2man +, qmake +, alsa-lib +, libjack2 +, dbus +, qtbase +, qttools +, qtx11extras +, meson +, python3 +, rtaudio +, ninja +}: + +mkDerivation rec { + version = "1.5.3"; + pname = "jacktrip"; + + src = fetchFromGitHub { + owner = "jacktrip"; + repo = "jacktrip"; + rev = "v${version}"; + sha256 = "sha256-sfAYMTnBjT4LkgksyzDGGy97NLX5ljjhNDFioQnTzLs="; + }; + + preConfigure = '' + rm build + ''; + + buildInputs = [ + rtaudio + qtbase + qtx11extras + libjack2 + dbus + ]; + + nativeBuildInputs = [ + python3 + python3.pkgs.pyaml + python3.pkgs.jinja2 + ninja + help2man + meson + qmake + qttools + pkg-config + ]; + + qmakeFlags = [ "jacktrip.pro" ]; + + meta = with lib; { + description = "Multi-machine audio network performance over the Internet"; + homepage = "https://jacktrip.github.io/jacktrip/"; + license = with licenses; [ gpl3 lgpl3 mit ]; + maintainers = [ maintainers.iwanb ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 65c5b9e133f0..d8b060c68beb 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -33553,6 +33553,8 @@ with pkgs; libjack2 = jack2.override { prefix = "lib"; }; + jacktrip = libsForQt5.callPackage ../applications/audio/jacktrip { }; + j2cli = with python3Packages; toPythonApplication j2cli; jquake = callPackage ../applications/misc/jquake { };