2024-08-12 14:35:25 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchFromGitHub,
|
|
|
|
cmake,
|
|
|
|
libpulseaudio,
|
|
|
|
lxqt-build-tools,
|
|
|
|
pkg-config,
|
|
|
|
qtbase,
|
2024-08-12 14:38:40 +00:00
|
|
|
qtsvg,
|
2024-08-12 14:35:25 +00:00
|
|
|
qttools,
|
|
|
|
qtwayland,
|
|
|
|
wrapQtAppsHook,
|
|
|
|
gitUpdater,
|
2020-04-25 17:01:05 +00:00
|
|
|
}:
|
2016-10-03 22:02:24 +00:00
|
|
|
|
2024-04-18 17:21:42 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2016-10-03 22:02:24 +00:00
|
|
|
pname = "pavucontrol-qt";
|
2024-04-18 17:21:42 +00:00
|
|
|
version = "2.0.0";
|
2016-10-03 22:02:24 +00:00
|
|
|
|
2017-11-02 02:00:22 +00:00
|
|
|
src = fetchFromGitHub {
|
2018-05-22 01:24:38 +00:00
|
|
|
owner = "lxqt";
|
2016-10-03 22:02:24 +00:00
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2024-04-18 17:21:42 +00:00
|
|
|
hash = "sha256-dhFVVqJIX40oiHCcnG1166RsllXtfaO7MqM6ZNizjQQ=";
|
2016-10-03 22:02:24 +00:00
|
|
|
};
|
|
|
|
|
2017-02-19 12:16:38 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
2021-01-17 02:21:50 +00:00
|
|
|
pkg-config
|
2023-11-05 20:23:51 +00:00
|
|
|
lxqt-build-tools
|
|
|
|
qttools
|
2024-04-18 17:21:42 +00:00
|
|
|
wrapQtAppsHook
|
2017-02-19 12:16:38 +00:00
|
|
|
];
|
2016-10-03 22:02:24 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libpulseaudio
|
2024-04-18 17:21:42 +00:00
|
|
|
qtbase
|
2024-08-12 14:38:40 +00:00
|
|
|
qtsvg
|
2024-04-18 17:21:42 +00:00
|
|
|
qtwayland
|
2016-10-03 22:02:24 +00:00
|
|
|
];
|
|
|
|
|
2022-09-27 21:32:15 +00:00
|
|
|
passthru.updateScript = gitUpdater { };
|
2020-04-26 14:53:59 +00:00
|
|
|
|
2024-08-12 14:36:32 +00:00
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/lxqt/pavucontrol-qt";
|
2021-02-08 14:41:52 +00:00
|
|
|
description = "Pulseaudio mixer in Qt (port of pavucontrol)";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "pavucontrol-qt";
|
2024-08-12 14:36:32 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
platforms = with lib.platforms; linux;
|
|
|
|
maintainers = lib.teams.lxqt.members;
|
2016-10-03 22:02:24 +00:00
|
|
|
};
|
|
|
|
}
|