mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
caffeine-ng: use python3
Using python3 is recommended by upstream.
This commit is contained in:
parent
fc78d8e0a7
commit
85c084d88d
@ -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
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user