Skip to content

Commit

Permalink
caffeine-ng: use python3
Browse files Browse the repository at this point in the history
Using python3 is recommended by upstream.
  • Loading branch information
marzipankaiser committed Sep 1, 2019
1 parent fc78d8e commit 85c084d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkgs/tools/X11/caffeine-ng/default.nix
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{ gdk-pixbuf, glib, gobject-introspection, gtk3, lib, libnotify,
pythonPackages, wrapGAppsHook
python3Packages, wrapGAppsHook
}:

pythonPackages.buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
pname = "caffeine-ng";
version = "3.4.2";

src = pythonPackages.fetchPypi{
src = python3Packages.fetchPypi{
inherit pname version;
sha256="05k8smjlfjcccgmp8qi04l7106k46fs4p8fl5bdqqjwv6pwl7y4w";
};

nativeBuildInputs = [ wrapGAppsHook glib ];
buildInputs = [ gdk-pixbuf gobject-introspection libnotify gtk3 ];
pythonPath = with pythonPackages; [
pythonPath = with python3Packages; [
dbus-python docopt ewmh pygobject3 pyxdg
setproctitle setuptools setuptools_scm wheel
];
Expand Down

0 comments on commit 85c084d

Please sign in to comment.