nixpkgs/pkgs/desktops/lxqt/pavucontrol-qt/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

54 lines
934 B
Nix
Raw Normal View History

2024-08-12 14:35:25 +00:00
{
lib,
stdenv,
fetchFromGitHub,
cmake,
libpulseaudio,
lxqt-build-tools,
pkg-config,
qtbase,
qtsvg,
2024-08-12 14:35:25 +00:00
qttools,
qtwayland,
wrapQtAppsHook,
gitUpdater,
}:
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 {
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
qtsvg
2024-04-18 17:21:42 +00:00
qtwayland
2016-10-03 22:02:24 +00:00
];
passthru.updateScript = gitUpdater { };
meta = {
homepage = "https://github.com/lxqt/pavucontrol-qt";
description = "Pulseaudio mixer in Qt (port of pavucontrol)";
mainProgram = "pavucontrol-qt";
license = lib.licenses.gpl2Plus;
platforms = with lib.platforms; linux;
maintainers = lib.teams.lxqt.members;
2016-10-03 22:02:24 +00:00
};
}