mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 18:24:53 +00:00
[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 commit9087bbde37) * Update pkgs/applications/audio/jack-autoconnect/default.nix (cherry picked from commita211a787b0) Co-authored-by: Viacheslav Lotsmanov <lotsmanov89@gmail.com> Co-authored-by: Winter <winter@winter.cafe>
This commit is contained in:
committed by
GitHub
parent
aeb21e4ec9
commit
d04cc00824
31
pkgs/applications/audio/jack-autoconnect/default.nix
Normal file
31
pkgs/applications/audio/jack-autoconnect/default.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user