nixpkgs/pkgs/applications/audio/qjackctl/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

47 lines
1.0 KiB
Nix
Raw Normal View History

{ lib, mkDerivation, fetchFromGitHub
, pkg-config, cmake, alsa-lib, libjack2, dbus, qtbase, qttools, qtx11extras
2020-11-29 17:31:42 +00:00
# Enable jack session support
, jackSession ? false
}:
mkDerivation rec {
2022-01-20 23:29:34 +00:00
version = "0.9.6";
pname = "qjackctl";
# some dependencies such as killall have to be installed additionally
2020-12-24 11:35:40 +00:00
src = fetchFromGitHub {
owner = "rncbc";
repo = "qjackctl";
2021-01-15 13:21:58 +00:00
rev = "${pname}_${lib.replaceChars ["."] ["_"] version}";
2022-01-20 23:29:34 +00:00
sha256 = "sha256-8oVnUe+/y4p1WeHMEhKMIl0/ax3PT0pN4f1UJaBmZBw=";
};
2016-11-01 18:48:10 +00:00
buildInputs = [
2017-02-03 15:19:44 +00:00
qtbase
qtx11extras
qttools
alsa-lib
2016-05-04 22:49:16 +01:00
libjack2
2016-11-01 18:48:10 +00:00
dbus
2016-05-04 22:49:16 +01:00
];
2020-12-24 11:35:40 +00:00
nativeBuildInputs = [
cmake
pkg-config
];
2017-02-28 15:29:45 +00:00
2020-12-24 11:35:40 +00:00
cmakeFlags = [
"-DCONFIG_JACK_VERSION=1"
"-DCONFIG_JACK_SESSION=${toString jackSession}"
2020-11-29 17:31:42 +00:00
];
meta = with lib; {
description = "A Qt application to control the JACK sound server daemon";
2020-12-24 11:35:40 +00:00
homepage = "https://github.com/rncbc/qjackctl";
license = licenses.gpl2Plus;
maintainers = [ maintainers.goibhniu ];
platforms = platforms.linux;
};
}