[Backport release-22.05] jack-autoconnect: init at unstable-2021-02-01 (#181763)

* jack-autoconnect: init at unstable-2021-02-01

Applied `nixfmt` against the added module.

(cherry picked from commit 9087bbde37)

* Update pkgs/applications/audio/jack-autoconnect/default.nix

(cherry picked from commit a211a787b0)

Co-authored-by: Viacheslav Lotsmanov <lotsmanov89@gmail.com>
Co-authored-by: Winter <winter@winter.cafe>
This commit is contained in:
github-actions[bot]
2022-07-16 17:27:46 -04:00
committed by GitHub
parent aeb21e4ec9
commit d04cc00824
2 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
{ lib, mkDerivation, fetchFromGitHub, pkg-config, qmake, qtbase, libjack2 }:
mkDerivation rec {
pname = "jack_autoconnect";
# It does not have any versions (yet?)
version = "unstable-2021-02-01";
src = fetchFromGitHub {
owner = "kripton";
repo = pname;
rev = "fe0c8f69149e30979e067646f80b9d326341c02b";
sha256 = "sha256-imvNc498Q2W9RKmiOoNepSoJzIv2tGvFG6hx+seiifw=";
};
buildInputs = [ qtbase libjack2 ];
nativeBuildInputs = [ pkg-config qmake ];
installPhase = ''
mkdir -p -- "$out/bin"
cp -- jack_autoconnect "$out/bin"
'';
meta = with lib; {
homepage = "https://github.com/kripton/jack_autoconnect";
description =
"Tiny application that reacts on port registrations by clients and connects them";
maintainers = with maintainers; [ unclechu ];
license = licenses.gpl2Only;
platforms = platforms.linux;
};
}

View File

@@ -34134,6 +34134,9 @@ with pkgs;
libjack2 = jack2.override { prefix = "lib"; };
jack-autoconnect = libsForQt5.callPackage ../applications/audio/jack-autoconnect { };
jack_autoconnect = jack-autoconnect;
jacktrip = libsForQt5.callPackage ../applications/audio/jacktrip { };
j2cli = with python3Packages; toPythonApplication j2cli;