forked from mirrors/nixpkgs
39 lines
848 B
Nix
39 lines
848 B
Nix
{ stdenv, fetchFromGitHub, cmake, pkgconfig, qt5, lxqt, libpulseaudio, pcre }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "${pname}-${version}";
|
|
pname = "pavucontrol-qt";
|
|
version = "0.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lxde";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "1pfqdzsbygvq77npsizydps25d9g6vgw177yqvmz3cg3a68dad27";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkgconfig
|
|
lxqt.lxqt-build-tools
|
|
];
|
|
|
|
buildInputs = [
|
|
qt5.qtbase
|
|
qt5.qttools
|
|
qt5.qtx11extras
|
|
libpulseaudio
|
|
pcre
|
|
];
|
|
|
|
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A Pulseaudio mixer in Qt (port of pavucontrol)";
|
|
homepage = https://github.com/lxde/pavucontrol-qt;
|
|
license = licenses.gpl2;
|
|
platforms = with platforms; unix;
|
|
maintainers = with maintainers; [ romildo ];
|
|
};
|
|
}
|