depot/third_party/nixpkgs/pkgs/desktops/lxqt/pavucontrol-qt/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

45 lines
802 B
Nix

{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, pkg-config
, lxqt-build-tools
, libpulseaudio
, qtbase
, qttools
, gitUpdater
}:
mkDerivation rec {
pname = "pavucontrol-qt";
version = "1.4.0";
src = fetchFromGitHub {
owner = "lxqt";
repo = pname;
rev = version;
hash = "sha256-eNhoqY1pak96x0xCypvgHmgCYjw4CYH8ABtWjIZrD3w=";
};
nativeBuildInputs = [
cmake
pkg-config
lxqt-build-tools
qttools
];
buildInputs = [
qtbase
libpulseaudio
];
passthru.updateScript = gitUpdater { };
meta = with lib; {
homepage = "https://github.com/lxqt/pavucontrol-qt";
description = "A Pulseaudio mixer in Qt (port of pavucontrol)";
license = licenses.gpl2Plus;
platforms = with platforms; linux;
maintainers = teams.lxqt.members;
};
}