2022-04-15 01:41:22 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pipewire
|
|
|
|
, cmake
|
|
|
|
, extra-cmake-modules
|
|
|
|
, gnumake
|
|
|
|
, wrapQtAppsHook
|
|
|
|
, qtbase
|
|
|
|
, qttools
|
|
|
|
, kirigami2
|
|
|
|
, kcoreaddons
|
|
|
|
, ki18n
|
|
|
|
, qtquickcontrols2
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "pipecontrol";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "0.2.11";
|
2022-04-15 01:41:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "portaloffreedom";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-11-16 04:20:00 +00:00
|
|
|
sha256 = "sha256-jMP8hPv0Rv/OIVIzR/5R8LmEcyzwtcof9Ire86WtISc=";
|
2022-04-15 01:41:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
extra-cmake-modules
|
|
|
|
wrapQtAppsHook
|
|
|
|
qttools
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
pipewire
|
|
|
|
qtbase
|
|
|
|
kirigami2
|
|
|
|
kcoreaddons
|
|
|
|
ki18n
|
|
|
|
qtquickcontrols2
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Pipewire control GUI program in Qt (Kirigami2)";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "pipecontrol";
|
2022-04-15 01:41:22 +00:00
|
|
|
homepage = "https://github.com/portaloffreedom/pipecontrol";
|
|
|
|
license = licenses.gpl3Only;
|
|
|
|
maintainers = with maintainers; [ tilcreator ];
|
|
|
|
};
|
|
|
|
}
|