ce641f4048
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
48 lines
880 B
Nix
48 lines
880 B
Nix
{ lib
|
|
, mkDerivation
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, pkg-config
|
|
, lxqt
|
|
, libpulseaudio
|
|
, pcre
|
|
, qtbase
|
|
, qttools
|
|
, qtx11extras
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "pavucontrol-qt";
|
|
version = "1.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lxqt";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "1n8h8flcm0na7n295lkjv49brj6razwml21wwrinwllw7s948qp0";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
lxqt.lxqt-build-tools
|
|
];
|
|
|
|
buildInputs = [
|
|
qtbase
|
|
qttools
|
|
qtx11extras
|
|
libpulseaudio
|
|
pcre
|
|
];
|
|
|
|
passthru.updateScript = lxqt.lxqtUpdateScript { inherit pname version src; };
|
|
|
|
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 = with maintainers; [ romildo ];
|
|
};
|
|
}
|