depot/third_party/nixpkgs/pkgs/applications/audio/pipecontrol/default.nix

51 lines
913 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
pipewire,
cmake,
extra-cmake-modules,
wrapQtAppsHook,
qtbase,
qttools,
kirigami2,
kcoreaddons,
ki18n,
qtquickcontrols2,
}:
stdenv.mkDerivation rec {
pname = "pipecontrol";
version = "0.2.11";
src = fetchFromGitHub {
owner = "portaloffreedom";
repo = pname;
rev = "v${version}";
sha256 = "sha256-jMP8hPv0Rv/OIVIzR/5R8LmEcyzwtcof9Ire86WtISc=";
};
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)";
mainProgram = "pipecontrol";
homepage = "https://github.com/portaloffreedom/pipecontrol";
license = licenses.gpl3Only;
maintainers = with maintainers; [ tilcreator ];
};
}