forked from mirrors/nixpkgs
jack-autoconnect: init at unstable-2021-02-01 (#181678)
* jack-autoconnect: init at unstable-2021-02-01 Applied `nixfmt` against the added module. * Update pkgs/applications/audio/jack-autoconnect/default.nix Co-authored-by: Winter <winter@winter.cafe>
This commit is contained in:
parent
9d9b66208d
commit
f3cfdc2f31
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;
|
||||
};
|
||||
}
|
|
@ -34706,6 +34706,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;
|
||||
|
|
Loading…
Reference in a new issue