diff options
author | Kirill Boltaev <aske@fmap.me> | 2016-09-21 23:18:44 +0300 |
---|---|---|
committer | Kirill Boltaev <aske@fmap.me> | 2016-09-21 23:20:48 +0300 |
commit | c0a2fd0ecbba4c149ede61da58f24d42f89bcec6 (patch) | |
tree | f4dce35bb54d3ea676e992945f6a7cc9e5b814f1 /pkgs/tools/misc/xflux | |
parent | 937b56f5db384b8e9edee3f4d9db98980db65384 (diff) |
xflux-gui: 2016-08-08 -> 2016-09-21, fix icon display
Diffstat (limited to 'pkgs/tools/misc/xflux')
-rw-r--r-- | pkgs/tools/misc/xflux/gui.nix | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/pkgs/tools/misc/xflux/gui.nix b/pkgs/tools/misc/xflux/gui.nix index 8300c8ef30af7..2b18d4e910d5e 100644 --- a/pkgs/tools/misc/xflux/gui.nix +++ b/pkgs/tools/misc/xflux/gui.nix @@ -1,22 +1,17 @@ -{ stdenv, fetchFromGitHub, buildPythonPackage, - pexpect, - pyGtkGlade, - pygobject, - pyxdg, - gnome_python, - libappindicator-gtk2, - xflux, - python +{ stdenv, fetchFromGitHub, buildPythonPackage +, pexpect, pyGtkGlade, pygobject, pyxdg +, gnome_python, python +, libappindicator-gtk2, xflux, librsvg, wrapGAppsHook }: buildPythonPackage rec { name = "xflux-gui-${version}"; - version = "2016-08-08"; + version = "2016-09-21"; src = fetchFromGitHub { repo = "xflux-gui"; owner = "xflux-gui"; - rev = "4125e70b6ad0aeda7de46b3a7083a26c392555dc"; - sha256 = "1l56f59hnjyi7nn8wn3dfdx6lw2qjbrhdlcfz0qvwj6b0953f2s7"; + rev = "0b56204477494b473a390e8b0db043437ec14f32"; + sha256 = "15pr8f31jnhqjlpvasnj6cmm6hw5gljphh2pxzav3zd9bp4yl56r"; }; # not sure if these need to be propagated or not? @@ -29,15 +24,17 @@ buildPythonPackage rec { gnome_python ]; - buildInputs = [ - xflux - ]; + buildInputs = [ xflux librsvg ]; + + nativeBuildInputs = [ wrapGAppsHook ]; postPatch = '' substituteInPlace src/fluxgui/xfluxcontroller.py --replace "pexpect.spawn(\"xflux\"" "pexpect.spawn(\"${xflux}/bin/xflux\"" ''; postFixup = '' + wrapGAppsHook + makeWrapperArgs="''${gappsWrapperArgs[@]}" wrapPythonPrograms patchPythonScript $out/${python.sitePackages}/fluxgui/fluxapp.py ''; |