2023-10-31 22:28:59 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitLab
|
|
|
|
, cmake
|
|
|
|
, pkg-config
|
|
|
|
, wrapQtAppsHook
|
|
|
|
, qtbase
|
|
|
|
, qtsvg
|
|
|
|
, qtwayland
|
|
|
|
, alsa-lib
|
|
|
|
, pipewire
|
2021-11-25 16:16:21 +00:00
|
|
|
}:
|
|
|
|
|
2023-10-31 22:29:29 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2021-11-25 16:16:21 +00:00
|
|
|
pname = "qpwgraph";
|
2023-09-16 01:29:22 +00:00
|
|
|
version = "0.5.3";
|
2021-11-25 16:16:21 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.freedesktop.org";
|
|
|
|
owner = "rncbc";
|
|
|
|
repo = "qpwgraph";
|
2023-10-31 22:29:29 +00:00
|
|
|
rev = "v${finalAttrs.version}";
|
2023-09-16 01:29:22 +00:00
|
|
|
sha256 = "sha256-50KaVpNB5/CTLs2bRbXEinYM23AZxZO/ForrVPFDN8U=";
|
2021-11-25 16:16:21 +00:00
|
|
|
};
|
|
|
|
|
2023-10-31 22:27:27 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
|
2021-11-25 16:16:21 +00:00
|
|
|
|
2023-10-31 22:27:27 +00:00
|
|
|
buildInputs = [ qtbase qtsvg qtwayland alsa-lib pipewire ];
|
2021-11-25 16:16:21 +00:00
|
|
|
|
2023-10-31 13:57:09 +00:00
|
|
|
cmakeFlags = [ "-DCONFIG_WAYLAND=ON" ];
|
|
|
|
|
2021-11-25 16:16:21 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Qt graph manager for PipeWire, similar to QjackCtl.";
|
|
|
|
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-07-24 11:44:53 +00:00
|
|
|
maintainers = with maintainers; [ kanashimia exi Scrumplex ];
|
2023-10-31 22:29:46 +00:00
|
|
|
mainProgram = "qpwgraph";
|
2021-11-25 16:16:21 +00:00
|
|
|
};
|
2023-10-31 22:29:29 +00:00
|
|
|
})
|