volctl: 0.8.2 -> 0.9.2

This commit is contained in:
Daniel Nagy 2022-11-28 23:45:00 +01:00
parent 3dc19ce82d
commit fd962eab8e
No known key found for this signature in database
GPG key ID: 1B8E8DCB576FB671

View file

@ -2,17 +2,17 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "volctl"; pname = "volctl";
version = "0.8.2"; version = "0.9.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "buzz"; owner = "buzz";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "1cx27j83pz2qffnzb85fbl1x6pp3irv1kbw7g1hri7kaw6ky4xiz"; sha256 = "sha256-ill0rwqrgAH7lbzh86DQc1Q71lkYh8PCKZvi4XadsW8=";
}; };
postPatch = '' postPatch = ''
substituteInPlace volctl/lib/xwrappers.py \ substituteInPlace volctl/xwrappers.py \
--replace 'libXfixes.so' "${xorg.libXfixes}/lib/libXfixes.so" \ --replace 'libXfixes.so' "${xorg.libXfixes}/lib/libXfixes.so" \
--replace 'libXfixes.so.3' "${xorg.libXfixes}/lib/libXfixes.so.3" --replace 'libXfixes.so.3' "${xorg.libXfixes}/lib/libXfixes.so.3"
''; '';
@ -27,6 +27,7 @@ python3Packages.buildPythonApplication rec {
]; ];
propagatedBuildInputs = [ pango gtk3 ] ++ (with python3Packages; [ propagatedBuildInputs = [ pango gtk3 ] ++ (with python3Packages; [
pulsectl
click click
pycairo pycairo
pygobject3 pygobject3