14 python3Packages.buildPythonApplication rec {
18 src = fetchFromGitHub {
22 sha256 = "sha256-jzS97KV17wKeBI6deKE4rEj5lvqC38fq1JGundHn2So=";
26 substituteInPlace volctl/xwrappers.py \
27 --replace 'libXfixes.so' "${xorg.libXfixes}/lib/libXfixes.so" \
28 --replace 'libXfixes.so.3' "${xorg.libXfixes}/lib/libXfixes.so.3"
32 export LD_LIBRARY_PATH=${libpulseaudio}/lib
40 propagatedBuildInputs =
45 ++ (with python3Packages; [
53 # with strictDeps importing "gi.repository.Gtk" fails with "gi.RepositoryError: Typelib file for namespace 'Pango', version '1.0' not found"
59 pythonImportsCheck = [ "volctl" ];
62 glib-compile-schemas ${glib.makeSchemaPath "$out" "${pname}-${version}"}
63 gappsWrapperArgs+=(--prefix LD_LIBRARY_PATH : "${libpulseaudio}/lib")
67 description = "PulseAudio enabled volume control featuring per-app sliders";
68 homepage = "https://buzz.github.io/volctl/";
69 license = licenses.gpl2Only;
70 platforms = platforms.linux;
71 maintainers = [ maintainers.romildo ];
72 mainProgram = "volctl";