2023-11-16 04:20:00 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitLab
|
|
|
|
, cmake
|
|
|
|
, pkg-config
|
|
|
|
, wrapQtAppsHook
|
|
|
|
, qtbase
|
|
|
|
, qtsvg
|
|
|
|
, qtwayland
|
|
|
|
, alsa-lib
|
|
|
|
, pipewire
|
2021-12-06 16:07:01 +00:00
|
|
|
}:
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2021-12-06 16:07:01 +00:00
|
|
|
pname = "qpwgraph";
|
2024-07-01 15:47:52 +00:00
|
|
|
version = "0.7.4";
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.freedesktop.org";
|
|
|
|
owner = "rncbc";
|
|
|
|
repo = "qpwgraph";
|
2023-11-16 04:20:00 +00:00
|
|
|
rev = "v${finalAttrs.version}";
|
2024-07-01 15:47:52 +00:00
|
|
|
sha256 = "sha256-1YExpvhCHIdRqFCvOmiG3G7k/qs7q1ITwtZXGMc/SRk=";
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
|
2021-12-06 16:07:01 +00:00
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
buildInputs = [ qtbase qtsvg qtwayland alsa-lib pipewire ];
|
|
|
|
|
|
|
|
cmakeFlags = [ "-DCONFIG_WAYLAND=ON" ];
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Qt graph manager for PipeWire, similar to QjackCtl";
|
2021-12-06 16:07:01 +00:00
|
|
|
longDescription = ''
|
|
|
|
qpwgraph is a graph manager dedicated for PipeWire,
|
|
|
|
using the Qt C++ framework, based and pretty much like
|
|
|
|
the same of QjackCtl.
|
|
|
|
'';
|
|
|
|
homepage = "https://gitlab.freedesktop.org/rncbc/qpwgraph";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
2023-08-04 22:07:22 +00:00
|
|
|
maintainers = with maintainers; [ kanashimia exi Scrumplex ];
|
2023-11-16 04:20:00 +00:00
|
|
|
mainProgram = "qpwgraph";
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
2023-11-16 04:20:00 +00:00
|
|
|
})
|