mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
90fbf71333
Inactive in Nixpkgs since 2018 (and a single PR in 2022). https://github.com/NixOS/nixpkgs/issues?q=author%3Acillianderoiste
48 lines
1.0 KiB
Nix
48 lines
1.0 KiB
Nix
{ lib, mkDerivation, fetchFromGitHub
|
|
, pkg-config, cmake, alsa-lib, libjack2, dbus, qtbase, qttools, qtx11extras
|
|
# Enable jack session support
|
|
, jackSession ? false
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
version = "0.9.13";
|
|
pname = "qjackctl";
|
|
|
|
# some dependencies such as killall have to be installed additionally
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rncbc";
|
|
repo = "qjackctl";
|
|
rev = "${pname}_${lib.replaceStrings ["."] ["_"] version}";
|
|
sha256 = "sha256-tCABvZzAmDKgOfTylOf2uZsKeib8PgvdQd1niaI8RxM=";
|
|
};
|
|
|
|
buildInputs = [
|
|
qtbase
|
|
qtx11extras
|
|
qttools
|
|
alsa-lib
|
|
libjack2
|
|
dbus
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
];
|
|
|
|
cmakeFlags = [
|
|
"-DCONFIG_JACK_VERSION=1"
|
|
"-DCONFIG_JACK_SESSION=${toString jackSession}"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Qt application to control the JACK sound server daemon";
|
|
mainProgram = "qjackctl";
|
|
homepage = "https://github.com/rncbc/qjackctl";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = [ ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|