Merge pull request #83001 from romildo/upd.volctl

volctl: 0.6.2 -> 0.6.3
This commit is contained in:
José Romildo Malaquias 2020-03-23 08:22:46 -03:00 committed by GitHub
commit f0ed641a65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,13 +2,13 @@
pythonPackages.buildPythonApplication rec { pythonPackages.buildPythonApplication rec {
pname = "volctl"; pname = "volctl";
version = "0.6.2"; version = "0.6.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "buzz"; owner = "buzz";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "1bqq5mrpi7qxzl37z6fj67pqappjmwhi8d8db95j3lmf16svm2xk"; sha256 = "0rppqc5wiqxd83z2mgvhi6gdx7yhy9wnav1dbbi1wvm7lzw6fnil";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -28,14 +28,6 @@ pythonPackages.buildPythonApplication rec {
strictDeps = false; strictDeps = false;
postPatch = ''
# The user can set a mixer application in the preferences. The
# default is pavucontrol. Do not hard code its path and hope it
# can be found in $PATH.
substituteInPlace volctl/app.py --replace /usr/bin/pavucontrol pavucontrol
'';
preBuild = '' preBuild = ''
export LD_LIBRARY_PATH=${libpulseaudio}/lib export LD_LIBRARY_PATH=${libpulseaudio}/lib
''; '';
@ -50,7 +42,7 @@ pythonPackages.buildPythonApplication rec {
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "PulseAudio enabled volume control featuring per-app sliders"; description = "PulseAudio enabled volume control featuring per-app sliders";
homepage = https://buzz.github.io/volctl/; homepage = "https://buzz.github.io/volctl/";
license = licenses.gpl2; license = licenses.gpl2;
platforms = platforms.linux; platforms = platforms.linux;
maintainers = [ maintainers.romildo ]; maintainers = [ maintainers.romildo ];