caffeine-ng: use python3

Using python3 is recommended by upstream.
This commit is contained in:
Marcial Gaißert 2019-09-01 20:29:41 +02:00
parent fc78d8e0a7
commit 85c084d88d
No known key found for this signature in database
GPG Key ID: B629036BE399EEE9

View File

@ -1,19 +1,19 @@
{ gdk-pixbuf, glib, gobject-introspection, gtk3, lib, libnotify, { gdk-pixbuf, glib, gobject-introspection, gtk3, lib, libnotify,
pythonPackages, wrapGAppsHook python3Packages, wrapGAppsHook
}: }:
pythonPackages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "caffeine-ng"; pname = "caffeine-ng";
version = "3.4.2"; version = "3.4.2";
src = pythonPackages.fetchPypi{ src = python3Packages.fetchPypi{
inherit pname version; inherit pname version;
sha256="05k8smjlfjcccgmp8qi04l7106k46fs4p8fl5bdqqjwv6pwl7y4w"; sha256="05k8smjlfjcccgmp8qi04l7106k46fs4p8fl5bdqqjwv6pwl7y4w";
}; };
nativeBuildInputs = [ wrapGAppsHook glib ]; nativeBuildInputs = [ wrapGAppsHook glib ];
buildInputs = [ gdk-pixbuf gobject-introspection libnotify gtk3 ]; buildInputs = [ gdk-pixbuf gobject-introspection libnotify gtk3 ];
pythonPath = with pythonPackages; [ pythonPath = with python3Packages; [
dbus-python docopt ewmh pygobject3 pyxdg dbus-python docopt ewmh pygobject3 pyxdg
setproctitle setuptools setuptools_scm wheel setproctitle setuptools setuptools_scm wheel
]; ];