1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 pipewire,
6 cmake,
7 extra-cmake-modules,
8 wrapQtAppsHook,
9 qtbase,
10 qttools,
11 kirigami2,
12 kcoreaddons,
13 ki18n,
14 qtquickcontrols2,
15}:
16
17stdenv.mkDerivation rec {
18 pname = "pipecontrol";
19 version = "0.2.12";
20
21 src = fetchFromGitHub {
22 owner = "portaloffreedom";
23 repo = pname;
24 rev = "v${version}";
25 sha256 = "sha256-WvQFmoEaxnkI61wPldSnMAoPAxNtI399hdHb/9bkPqc=";
26 };
27
28 nativeBuildInputs = [
29 cmake
30 extra-cmake-modules
31 wrapQtAppsHook
32 qttools
33 ];
34
35 buildInputs = [
36 pipewire
37 qtbase
38 kirigami2
39 kcoreaddons
40 ki18n
41 qtquickcontrols2
42 ];
43
44 meta = with lib; {
45 description = "Pipewire control GUI program in Qt (Kirigami2)";
46 mainProgram = "pipecontrol";
47 homepage = "https://github.com/portaloffreedom/pipecontrol";
48 license = licenses.gpl3Only;
49 maintainers = with maintainers; [ tilcreator ];
50 };
51}