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

49 lines
881 B
Nix
Raw Normal View History

{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, pkg-config
, lxqt
, libpulseaudio
, pcre
, qtbase
, qttools
, qtx11extras
}:
mkDerivation rec {
pname = "pavucontrol-qt";
version = "0.16.0";
src = fetchFromGitHub {
owner = "lxqt";
repo = pname;
rev = version;
sha256 = "1d3kp2y3crrmbqak4mn9d6cfbhi5l5xhchhjh44ng8gpww22k5h0";
};
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 ];
};
}